Question by
CoolDry · Dec 09, 2018 at 10:53 PM ·
booleankeycodekeyboard inputpowerup
how to activate a power up by pressing down a key?
Trying to have a system where once power up is collected, hasPowerup = true and when key is pressed, it activates the power-up. I know this is simple but still in the process of getting to grips with coding.
Comment
Your answer
Follow this Question
Related Questions
Timer onTriggerEnter doesn't launch 0 Answers
Identify custom user input 0 Answers
A keybinding system in unity 1 Answer
I'd like my object to be active only when space key is NOT pressed 1 Answer