Understanding GetButton and GetKey inputs in Unity
Unity's button / Input system has been the source of confusion for many newcomers. It's no suprise, after all we have GetKey, GetKeyDown, GetKeyUp, GetButton, GetButtonDown, GetButtonUp. So let's try make sense of it all. GetKey / GetKeyDown / GetKeyUp Input.GetKey(...) will be familiar to developers coming from other platforms like Flash. It accepts either a KeyCode parameter [...]
Get Social