public void RemoveComponent(GameComponent component) { base.RemoveComponent(component); component.gameObject = null; }
public void AddComponent(GameComponent component) { base.AddComponent(component); component.gameObject = this; }
public void RemoveComponent(GameComponent component) { base.RemoveComponent(component); component.gameObject = null; }
public void AddComponent(GameComponent component) { base.AddComponent(component); component.gameObject = this; }