Search Unity

Feedback List of default buttons needed

Discussion in 'Documentation' started by Tigersong, Jun 20, 2022.

  1. Tigersong

    Tigersong

    Joined:
    Aug 11, 2014
    Posts:
    73
    I'm working on getting a character to move, jump, etc., but I'm not getting very far. I know that movement is supposed to be handled by Input.GetAxis and other actions by Input.GetButton; so far, so good. But where's the list of buttons? What format are calls to GetButton supposed to be in? As far as I can tell, the scripting reference doesn't say.
     
  2. https://docs.unity3d.com/ScriptReference/Input.GetButton.html
     
    Tigersong likes this.