| | |
| | | int guide = PlayerPrefs.GetInt("GemBattleGuide"); |
| | | GameConfig.IsNewbie = guide == 0; |
| | | |
| | | GameConfig.IsNewbie = true; |
| | | //GameConfig.IsNewbie = true; |
| | | |
| | | GameConfig.IsNewbieStart = GameConfig.IsNewbie; |
| | | |
| | |
| | | HideUIMask(); |
| | | countDownTextNew.text = ""; |
| | | countDownTextNew.gameObject.SetActive(false); |
| | | //GameObject go = Resources.Load<GameObject>("UI/Guide/GuidePanel"); |
| | | GameObject guideObj = Instantiate(Resources.Load<GameObject>("UI/Guide/GuidePanel"), transform.Find("Panel")); |
| | | GameObject prefab = Resources.Load<GameObject>("UI/Guide/GuidePanel"); |
| | | GameObject guideObj = Instantiate(prefab, transform.Find("Panel")); |
| | | guideObj.GetComponent<RectTransform>().offsetMin += tmpOffect; |
| | | AddGuideEvent(); |
| | | } |
| | |
| | | if (bGameStart) |
| | | { |
| | | startTime += Time.deltaTime; |
| | | |
| | | if (startTime >= JsonDataCenter.DOUBLE_GEM_TIME) |
| | | EndlessGameUI.instance.UpgradeAllTowerMinLevel(1); |
| | | |
| | | timeTextNew.text = ConvertTime((float)Math.Ceiling(startTime)); |
| | | } |
| | | |