V
V
Vladimir Kuchma2020-10-09 01:41:08
C++ / C#
Vladimir Kuchma, 2020-10-09 01:41:08

How to determine if the Unity button is pressed?

I am making a running mechanism, that is, if the LeftShift button is pressed, then speed = 3, if not, then speed = 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris the Animal, 2020-10-09
@perpeto

From the Unity Documentation Input.GetKey

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question