- Home /
Can you use keystrokes in a Script?
for example: you press d,s,a,e really fast then something happens like a GUI appears.
if you can could you give me an example?
Comment
Answer by Graham-Dunnett · Jan 07, 2015 at 07:45 PM
Have you read the documentation?
If you scroll a little bit, you can find things like Input.Get$$anonymous$$ey(), Input.Get$$anonymous$$eyDown(), and Input.Get$$anonymous$$eyUp().
These are all used for detecting key presses.
Your answer
![](https://koobas.hobune.stream/wayback/20220613175830im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
I need help to convert iphone examples to Android 1 Answer
union payment options 0 Answers
reversed faces 1 Answer
NGUI drag and drop snap 1 Answer
object rotating around parent 1 Answer