mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
18 lines
322 B
C#
18 lines
322 B
C#
namespace DotNetScriptingHelper;
|
|
|
|
public struct Entity
|
|
{
|
|
public EcsEntity Handle { get; }
|
|
public IntPtr Scene { get; }
|
|
|
|
public bool IsValid => Handle.IsValid;
|
|
|
|
public Entity(EcsEntity handle, IntPtr scene)
|
|
{
|
|
Handle = handle;
|
|
Scene = scene;
|
|
}
|
|
|
|
// TODO: Get Parent, Children
|
|
}
|