void CanSelect() { StageData stageData = storyData.GetStageDataByID(curStage); if (stageData.Select > 0) { canPause = false; //Debug.Log("can select" + curStage); SelectData selectData = storyData.GetSelectDataByID(stageData.Select); stage.SetSelect(selectData); //stage.ActAside(true); if (waitSelect != null) { StopCoroutine(waitSelect); waitSelect = null; } waitSelect = WaitSelect(selectData); StartCoroutine(waitSelect); } if (stageData.Select == 0) { canPause = false; canShowMap = false; StartCoroutine(WaitPhone()); } }