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); }
void start() { komaIdou = GameObject.Find("KomaIdou").GetComponent <komaIdou>(); komaModel = GetComponent <KomaModel>(); }