Exemple #1
0
 /** 初期化処理 */
 void Start()
 {
     startTime = Time.time;
     board = GameObject.FindGameObjectWithTag("Player").GetComponent<Board>();
 }
Exemple #2
0
 void Start()
 {
     board = GameObject.FindGameObjectWithTag ("Player").GetComponent<Board> ();
     city = this.GetComponent<City>();
     gm = this.GetComponent<GameManager>();
 }