コード例 #1
0
ファイル: LevelManager.cs プロジェクト: artochesterli/Bubbles
 private void OnMotionFinish(MotionFinish M)
 {
     GameManager.levelState = LevelState.Play;
     if (gameObject.activeSelf)
     {
         CheckLevelState();
     }
 }
コード例 #2
0
 private void OnMotionFinish(MotionFinish e)
 {
     for (int i = 0; i < TutorialTextList.Count; i++)
     {
         if (GameManager.ActivatedLevel.GetComponent <LevelManager>().LevelIndex == TutorialTextList[i].Level && TutorialTextList[i].Text != CurrentText && TutorialTextList[i].AppearTiming == LevelTiming.MotionFinish)
         {
             CurrentText = TutorialTextList[i].Text;
             GetComponent <Text>().text = CurrentText;
             StartCoroutine(ShowText());
             break;
         }
     }
 }