Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void OnGUI()
- {
- if (Event.current.isKey)
- {
- Debug.Log("Key pressed at time " + Time.realtimeSinceStartup);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement