示例#1
0
 /**
  * Removes the component from this entity.
  * @param component to remove from this entity.
  */
 public void RemoveComponent <T>(Component component) where T : Component
 {
     System.Diagnostics.Debug.Assert(component != null);
     entityManager.RemoveComponent <T>(this, component);
 }
示例#2
0
 /**
  * Removes the component from this entity.
  * @param component to remove from this entity.
  */
 public void RemoveComponent <T>(Component component) where T : Component
 {
     entityManager.RemoveComponent <T>(this, component);
 }