void Start() { Debug.Log("GameData.Start()"); _instance = this; _uiHandler = GameObject.Find("Canvas").GetComponent<UIHandler>(); _uiHandler.UpdatePointsCollected(_totalPointsCollected); _planeManager.gameObject.SetActive(true); }
void Start() { _currentGameData = this; _currentRequiredPresentCount = 12; _givenTimeOnThisLevel = 120; }
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; }