/* * private void max_five_coins_guest() { * if (PlayerPrefs.GetInt ("facebook_stat") == 0 && * PlayerPrefs.GetInt ("gemu_stat") == 0 && * PlayerPrefs.GetInt ("gplus_stat") == 0) { * * if(countCoin>5) { * countCoin=5; * //waktuCount = 0; * //isTimerOn = false; * //jumlahCoinsUser.text = "X " + countCoin.ToString(); * PlayerPrefs.SetInt("coins_user", countCoin); * PlayerPrefs.Save(); * } * } * } */ // Update is called once per frame void Update() { updateCoins(); if (waktuTambahCoins != null) { waktuTambahCoins.text = CoinTimerHandler.FormatJam(Mathf.Floor(CoinTimerHandler.instance.GetTimeDiff())); } }
// Update is called once per frame void Update() { textTimer.text = CoinTimerHandler.FormatJam(Mathf.Floor(CoinTimerHandler.instance.GetTimeDiff())); }