예제 #1
0
 public void RemoveComponentOfType <ComponentType>() where ComponentType : IComponent
 {
     EntityInfrastructureManager.RemoveComponent <ComponentType>(this);
 }
예제 #2
0
 public void RemoveComponent <T>(T component) where T : IComponent
 {
     EntityInfrastructureManager.RemoveComponent(component, Id);
 }