Ejemplo n.º 1
0
 void Start()
 {
     audioSource                = GetComponent <AudioSource>();
     currencyManagerScript      = Currency_ManagerObj.GetComponent <CurrencyManager>();
     displayCurrencyCountScript = CurrencyTextObj.GetComponent <DisplayCurrencyCount>();
     chestTimerScript           = ChestTimerObj.GetComponent <ChestTimer>();
     chestsOpened               = SecurePlayerPrefs.GetInt("chestsOpened", 0);
 }
Ejemplo n.º 2
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);
    }
Ejemplo n.º 3
0
    private void Start()
    {
        currencyManagerScript      = Currency_ManagerObj.GetComponent <CurrencyManager>();
        displayCurrencyCountScript = CurrencyTextObj.GetComponent <DisplayCurrencyCount>();

        if (!Advertisement.isInitialized)
        {
            Advertisement.Initialize("2677701");
        }
    }
Ejemplo n.º 4
0
    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());
    }
Ejemplo n.º 5
0
    // Create Animation for Purchase Panel In and Out

    void Start()
    {
        currencyManagerScript      = Currency_ManagerObj.GetComponent <CurrencyManager>();
        displayCurrencyCountScript = CurrencyTextObj.GetComponent <DisplayCurrencyCount>();
        unlockScript = _UnlockObj.GetComponent <UnlockV2>();
    }