| | |
| | | { |
| | | //Time.timeScale = 0;//游戏暂停,这样会导致协程停止了 |
| | | ChangeStep(GuideEnum.Step0); |
| | | GameConfig.CanOpenNewTower = false; |
| | | // switch (step) |
| | | // { |
| | | // case 2: |
| | |
| | | currentIndex = 0; |
| | | needIndex = 1; |
| | | panel.SetGuideUI(false); |
| | | GameConfig.CanOpenNewTower = true; |
| | | |
| | | //等待解锁塔 |
| | | panel.Step7(currentIndex, allGuideDic[currentStep][currentIndex]); |
| | |
| | | if (currentIndex == -1)//初始化本步 |
| | | { |
| | | CommonDebugHelper.DebugError("第9步开始"); |
| | | GameConfig.CanOpenNewTower = false; |
| | | |
| | | currentIndex = 0; |
| | | needIndex = 2; |
| | |
| | | private void Finish() |
| | | { |
| | | UnityEngine.Debug.Log("新手指导已经完成了"); |
| | | GameConfig.CanOpenNewTower = true; |
| | | |
| | | EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.GuideFinish); |
| | | Destroy(gameObject); |
| | | //gameObject.SetActive(false); |