mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Script glue works!
This commit is contained in:
@@ -5,6 +5,7 @@ namespace GlitchyEngine.Core;
|
||||
/// <summary>
|
||||
/// The type of projection used by a camera.
|
||||
/// </summary>
|
||||
[EngineClass("GlitchyEngine.World.SceneCamera.ProjectionType")]
|
||||
public enum ProjectionType : byte
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -99,6 +99,6 @@ public class Transform : Component
|
||||
ScriptGlue.Transform_GetScale(Entity.UUID, out float3 scale);
|
||||
return scale;
|
||||
}
|
||||
set => ScriptGlue.Transform_SetScale(Entity.UUID, in value);
|
||||
set => ScriptGlue.Transform_SetScale(Entity.UUID, value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace GlitchyEngine.Core;
|
||||
/// </summary>
|
||||
[DebuggerDisplay("{ToString()}")]
|
||||
[EngineClass("GlitchyEngine.Core.UUID")]
|
||||
[EngineClass("GlitchyEngine.Core.AssetHandle")]
|
||||
[EngineClass("GlitchyEngine.Content.AssetHandle")]
|
||||
public struct UUID
|
||||
{
|
||||
private ulong _uuid;
|
||||
@@ -32,7 +32,7 @@ public struct UUID
|
||||
/// <returns>The newly created <see cref="UUID"/></returns>
|
||||
public static UUID CreateNew()
|
||||
{
|
||||
ScriptGlue.UUID_CreateNew(out UUID id);
|
||||
ScriptGlue.UUID_Create(out UUID id);
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user