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