public void StartTimer() { if (IsFree) { PlayerPrefs.SetString("BankFreeTimeStamp", Statics.GetNowTimeStamp().ToString()); date = Statics.ConvertStringToDateTime(PlayerPrefs.GetString("BankFreeTimeStamp")); double remain = remainSeconds(); timing = remain > 0; skipDate = Time.fixedTime; if (timing) { TimerText.text = Statics.GetTime((int)remain); } TimerText.gameObject.SetActive(timing); PayBtn.gameObject.SetActive(!timing); } }