Exemple #1
0
 public void RemoveComponent(GameComponent component)
 {
     base.RemoveComponent(component);
     component.gameObject = null;
 }
Exemple #2
0
 public void AddComponent(GameComponent component)
 {
     base.AddComponent(component);
     component.gameObject = this;
 }