public void CreateAIPlayer() { //and register the game controller with it aiplayer = gameObject.AddComponent <AIPlayer>() as AIPlayer; aiplayer.GameControllerSetter(this); }
public void CreateAIPlayer() { //and register the game controller with it aiplayer = gameObject.AddComponent <AIPlayer>() as AIPlayer; aiplayer.GameControllerSetter(this); }