示例#1
0
 void Update()
 {
     if (showingFailedMessage && Input.GetKeyDown(KeyCode.C))
     {
         instance.StartCoroutine(instance.RetryMission());
     }
     if (showingFailedMessage && Input.GetKeyDown(KeyCode.X))
     {
         instance.AbortMission();
     }
     if (showingFireworks)
     {
         SetFireworkPosition();
     }
 }