コード例 #1
0
ファイル: Game.cs プロジェクト: dannnyzapata/GaiasRevange
 // Use this for initialization
 void Start()
 {
     //Quick and Dirty solution  Problem Gameobject/Script variables get cleared on Play
     world   = GetComponent <World>();
     player1 = GameObject.Find("player1").GetComponent <SimplePlayer>();
     player2 = GameObject.Find("player2").GetComponent <SimplePlayer>();
     player1.TurnStart();
     EventManager.TurnStart(currentPlayer);
     print("started");
 }