예제 #1
0
 private void Start()
 {
     directionDeterminator = GameObject.Find("DirectionDeterminator").GetComponent <DirectionDeterminator>();
     masuHandler           = GameObject.Find("MasuHandler").GetComponent <MasuHandler>();
     komaIdou  = GameObject.Find("KomaIdou").GetComponent <komaIdou>();
     komaModel = GetComponent <KomaModel>();
     PlayerPrefs.SetInt("pID", 1);
     PlayerPrefs.SetInt("turn", 0);
 }
예제 #2
0
 void start()
 {
     komaIdou  = GameObject.Find("KomaIdou").GetComponent <komaIdou>();
     komaModel = GetComponent <KomaModel>();
 }