示例#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);
 }