示例#1
0
 void Update()
 {
     if (idx < objs.Length)
     {
         current = objs[idx];
         if (system.finished)
         {
             Debug.Log(idx);
             system.StartDialogue(current);
             system.FinalDialogue();
             idx++;
         }
     }
     else
     {
         SceneManager.LoadScene("EndScene");
     }
 }