Пример #1
0
 /// <summary>
 /// Set the method that should be called when the correct swipe is performed.
 /// </summary>
 /// <param name="m"></param>
 /// <param name="s"></param>
 public void SetWaitingForInput(Action m, waitForSpecificSwipe s)
 {
     waitingForinput         = m;
     waitingForSpecificInput = s;
 }
Пример #2
0
 private void DoneWaiting()
 {
     waitingForSpecificInput = 0;
     waitingForinput         = null;
 }
Пример #3
0
 public void Setup(string t, waitForSpecificSwipe stop)
 {
     UItext.text = t;
     GameObject.FindObjectOfType <InputManager>().SetWaitingForInput(Unpause, stop);
 }