Beispiel #1
0
    private void Start()
    {
        gameData = gameManager.GetGameData();

        if (geoLocManager.GetCurrentArea() != null)
        {
            ShowCurrentAreaInfo();
            SetAreaColors();
            //ShowPercentageText();
        }
        animationDone = false;
        firstTime     = false;
    }
Beispiel #2
0
    // 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();
    }
Beispiel #3
0
 public AreaStatus GetCurrentAreaStatus()
 {
     return(gameData.areasStatus[geoLocManager.GetCurrentArea().name]);
 }