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