Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. void OnGUI()
  2. {
  3. if (Event.current.isKey)
  4. {
  5. Debug.Log("Key pressed at time " + Time.realtimeSinceStartup);
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement