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