예제 #1
0
 // Use this for initialization
 void Start()
 {
     gameController = FindObjectOfType <GameController>();
     hexMap         = gameController.FindPlayerMap(transform.position);
     hexPosition    = GetComponentInChildren <HexPosition>();
     hexPosition.Init(hexMap);
 }