Example #1
0
 internal Entity(DefaultEcs.Entity handle)
 {
     Handle = handle;
     CoreECS.Register(Handle, this);
     Events = new EntityEvents();
 }
Example #2
0
 public Entity() : this(CoreECS.CreateEntityHandle())
 {
 }
Example #3
0
 public void Dispose()
 {
     CoreECS.Register(Handle, null);
     Handle.Dispose();
 }