Guest User

Untitled

a guest
Aug 4th, 2014
244
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void Update() {
  2.  
  3. while (trigger == false) {
  4. if (Input.GetKeyDown (KeyCode.W)
  5. | Input.GetKeyDown (KeyCode.A)
  6. | Input.GetKeyDown (KeyCode.S)
  7. | Input.GetKeyDown (KeyCode.D)) {
  8. hudText.Add ("Nice work! Now try...", Color.red, 3f);
  9.  
  10. Debug.Log (trigger);
  11.  
  12. trigger=true;
  13.  
  14.  
  15. }
  16. }
  17. Debug.Log (trigger);
  18. }
  19. }
RAW Paste Data