- Home /
Question by
MrSplosion · May 02, 2011 at 03:07 AM ·
inputkeycodegetkeydown
Simple Quick Question
I just have a quick question that I can't find the answer to. What is the difference between saying Input.GetKeyDown("q") and Input.GetKeyDown(KeyCode.Q)?
Thanks :)
Comment
Answer by Zib Redlektab · May 02, 2011 at 03:42 AM
I believe that "Q" is a shortcut for KeyCode.Q. No functional difference.
Answer by Kool · May 02, 2011 at 04:07 AM
q and Q is diference symbols in programming!
Do you have any idea what you're trying to say yourself? ...
Your answer
Follow this Question
Related Questions
Problem With else if statement 1 Answer
Change view if key is pressed 4 Answers
Check the latest key pressed? 2 Answers
Anyway to get what key is down? 1 Answer