void Start() { numberOfResources = 60; pt = FindObjectOfType <PoliticsTracker>(); baseActionController = FindObjectOfType <BaseActionController>(); StartCoroutine("RefreshUnitArray"); hexGrid = FindObjectOfType <HexGrid>(); gameUI = FindObjectOfType <GameUI>(); bc = FindObjectOfType <BaseController>(); electionHandler = FindObjectOfType <HandleElection>(); }
void Start() { ut = GetComponent <ObjectInfo>().ut; hexGrid = FindObjectOfType <HexGrid>(); gameUI = FindObjectOfType <GameUI>(); pt = FindObjectOfType <PoliticsTracker>(); gc = FindObjectOfType <GameController>(); //mr = GetComponent<MeshRenderer>(); //mr.material = ObjectNotSelected; SetHexCoords(); AddLocationToDict(); DetermineCostForAction(); DetermineCostForUpgrade(); gc.RefreshUnitArray(); }
void Start() { pt = FindObjectOfType <PoliticsTracker>(); }
void Start() { gc = FindObjectOfType <GameController>(); pt = FindObjectOfType <PoliticsTracker>(); }