| | |
| | | int guide = PlayerPrefs.GetInt("GemBattleGuide"); |
| | | GameConfig.IsNewbie = guide == 0; |
| | | |
| | | GameConfig.IsNewbie = true; |
| | | |
| | | GameConfig.IsNewbieStart = GameConfig.IsNewbie; |
| | | |
| | | if (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(); |
| | | } |