예제 #1
0
 void Update()
 {
     if (!Player.isPlaying)
     {
         if (CallBack != null)
         {
             CallBack.Invoke();
         }
         CallBack = null;
         Canvas.RestoreDefault();
     }
 }
예제 #2
0
 // Clean up when confirm button is clicked
 public void EventWindowCleanup()
 {
     Canvas.RestoreDefault();
     ConfirmButton.onClick.RemoveAllListeners();
 }