コード例 #1
0
ファイル: GameManager.cs プロジェクト: UFOsouji/UFOsouji
 /** 初期化処理 */
 void Start()
 {
     startTime = Time.time;
     board = GameObject.FindGameObjectWithTag("Player").GetComponent<Board>();
 }
コード例 #2
0
ファイル: UIMediator.cs プロジェクト: UFOsouji/UFOsouji
 void Start()
 {
     board = GameObject.FindGameObjectWithTag ("Player").GetComponent<Board> ();
     city = this.GetComponent<City>();
     gm = this.GetComponent<GameManager>();
 }