private void Start() { gameData = gameManager.GetGameData(); if (geoLocManager.GetCurrentArea() != null) { ShowCurrentAreaInfo(); SetAreaColors(); //ShowPercentageText(); } animationDone = false; firstTime = false; }
// Use this for initialization void Start() { sceneController = FindObjectOfType <SceneController>(); if (!sceneController) { throw new UnityException("Scene Controller could not be found, ensure that it exists in the Persistent scene."); } if (geoLocManager.GetCurrentArea() != null) { SetLoadCanvas(); } GPGSManager.Instance.ShowButtons(); }
public AreaStatus GetCurrentAreaStatus() { return(gameData.areasStatus[geoLocManager.GetCurrentArea().name]); }