Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

How do you get the current button for Input.GetButton?

Discussion in 'Scripting' started by GargerathSunman, Aug 23, 2008.

  1. GargerathSunman

    GargerathSunman

    Joined:
    May 1, 2008
    Posts:
    1,571
    Basically, I need to know how to get the information that the player puts inside the InputManager on startup. I can't just assume the buttons are what I set them to.

    This is essential, as I'm starting work on the player tutorial for beta.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Unfortunately you can't. This has been brought up a few times before; I wish you could too....

    --Eric
     
  3. GargerathSunman

    GargerathSunman

    Joined:
    May 1, 2008
    Posts:
    1,571
    I guess I'm stuck doing the generic: "AxisName: Default suchnsuch" instead.