示例#1
0
 internal void RemoveComponent(MyActorComponent component)
 {
     component.OnRemove(this);
     m_components.Remove(component);
 }
示例#2
0
 internal void RemoveComponent <T>(MyActorComponent component) where T : MyActorComponent
 {
     component.OnRemove(this);
     m_components.Remove(typeof(T));
 }