DotNet script changes transform

This commit is contained in:
Simon Lübeß
2022-04-27 23:58:50 +02:00
parent 2bac6a8d05
commit 63b9270710
11 changed files with 444 additions and 22 deletions
@@ -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