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