- Home /
How can i make hotkeyses?
I mean if i click "f1" then my player will use medkit and etc. Cant find this type of tutorial and information in youtube.
Comment
Answer by RawallonCG · Mar 26, 2018 at 02:12 AM
There are a few ways you can do this, the quicker is to use the Input.GetKeyDown and hardcode the key in, another is to use the Input Manager to add as a button and then use Input.GetButtonDown on the script.
Your answer
![](https://koobas.hobune.stream/wayback/20220612155300im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can i make changes like in example? 0 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Instatiated GameObject won't move even though it has a rigidbody 0 Answers