Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,709
    https://docs.unity3d.com/ScriptReference/Input.GetButton.html
     
    Tigersong likes this.