- Home /
Question by
Cristiano1994 · Feb 03, 2016 at 11:10 PM ·
updateonguikeycode
How to make a key stored, without using OnGUI
Hello , here's the point. I want a button to store a Keycode when a key on the keyboard is pressed, but i don't want to use OnGUI() and Update() function , how do I do? If something ain't clear just ask , thank you for your time.
Comment
Answer by allenallenallen · Feb 03, 2016 at 11:13 PM
If I remember correctly, you can't do that. Is there a reason you don't want to use Update? Because it won't slow down your game if you use it.
Your answer
Follow this Question
Related Questions
touch buttons function OnGUI issue 1 Answer
How to Use Key Combinations with the Control-Key? 2 Answers
"Escape" not working to open menu? 1 Answer
Call a function once from OnGUI 2 Answers