Unity Discussions
How can I optimise this code?
Unity Engine
Scripting
lordofduct
January 6, 2018, 4:29am
2
One, use code tags:
use the input manager and set up axes for these keys. Let it take care of things. And then use Input.GetAxis to get Vector2’s you can then use.
show post in topic