mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
DotNet script changes transform
This commit is contained in:
@@ -2,14 +2,15 @@
|
||||
|
||||
public struct Entity
|
||||
{
|
||||
public EcsEntity Handle { get; private set; }
|
||||
// TODO: Scene
|
||||
public EcsEntity Handle { get; }
|
||||
public IntPtr Scene { get; }
|
||||
|
||||
public bool IsValid => Handle.IsValid;
|
||||
|
||||
public Entity(EcsEntity handle)
|
||||
public Entity(EcsEntity handle, IntPtr scene)
|
||||
{
|
||||
Handle = handle;
|
||||
Scene = scene;
|
||||
}
|
||||
|
||||
// TODO: Get Parent, Children
|
||||
|
||||
Reference in New Issue
Block a user