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