void Start() { audioSource = GetComponent <AudioSource>(); currencyManagerScript = Currency_ManagerObj.GetComponent <CurrencyManager>(); displayCurrencyCountScript = CurrencyTextObj.GetComponent <DisplayCurrencyCount>(); chestTimerScript = ChestTimerObj.GetComponent <ChestTimer>(); chestsOpened = SecurePlayerPrefs.GetInt("chestsOpened", 0); }
// Create Animation for Purchase Panel In and Out void Start() { scrollColliderHandlerScript = ScrollColHandler.GetComponent <ScrollColliderHandler>(); currencyManagerScript = Currency_ManagerObj.GetComponent <CurrencyManager>(); displayCurrencyCountScript = CurrencyTextObj.GetComponent <DisplayCurrencyCount>(); unlockScript = _UnlockObj.GetComponent <Unlock>(); shareAmount = SecurePlayerPrefs.GetInt("ShareWith5", 0); }
private void Start() { currencyManagerScript = Currency_ManagerObj.GetComponent <CurrencyManager>(); displayCurrencyCountScript = CurrencyTextObj.GetComponent <DisplayCurrencyCount>(); if (!Advertisement.isInitialized) { Advertisement.Initialize("2677701"); } }
void Start() { gameOverScript = Game_OverObj.GetComponent <GameOver>(); scoreScript = _ScoreObj.GetComponent <Score>(); currencyManagerScript = Currency_ManagerObj.GetComponent <CurrencyManager>(); displayCurrencyCountScript = CurrencyText.GetComponent <DisplayCurrencyCount>(); SecurePlayerPrefs.SetInt("coinsGrabbed", 0); audioSource = GetComponent <AudioSource>(); //StartCoroutine(CountDown()); }
// Create Animation for Purchase Panel In and Out void Start() { currencyManagerScript = Currency_ManagerObj.GetComponent <CurrencyManager>(); displayCurrencyCountScript = CurrencyTextObj.GetComponent <DisplayCurrencyCount>(); unlockScript = _UnlockObj.GetComponent <UnlockV2>(); }