Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 private void DoneWaiting()
 {
     waitingForSpecificInput = 0;
     waitingForinput         = null;
 }
Ejemplo n.º 3
0
 public void Setup(string t, waitForSpecificSwipe stop)
 {
     UItext.text = t;
     GameObject.FindObjectOfType <InputManager>().SetWaitingForInput(Unpause, stop);
 }