Пример #1
0
        void Start()
        {
            Debug.Log("GameData.Start()");
            _instance = this;

            _uiHandler = GameObject.Find("Canvas").GetComponent<UIHandler>();
            _uiHandler.UpdatePointsCollected(_totalPointsCollected);
            
            _planeManager.gameObject.SetActive(true);
        }
Пример #2
0
 void Start()
 {
     _currentGameData = this;
     _currentRequiredPresentCount = 12;
     _givenTimeOnThisLevel = 120;
 }
Пример #3
0
 void Start()
 {
     savedData = GameObject.Find("SavedData").GetComponent<SavedData>();
     _currentGameData = this;
     //_currentRequiredPresentCount = giftGoal[savedData.currentLevel];
     //PresentRequiredGUI.text = " /" + giftGoal[savedData.currentLevel].ToString(); //moved to StartGame
     _givenTimeOnThisLevel = 60;
 }