Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can Moga pro Gamepad input not so sensitive

Discussion in 'BlackBerry' started by lazior, Feb 18, 2014.

  1. lazior

    lazior

    Joined:
    Dec 19, 2013
    Posts:
    1
    hi all,

    I want to ask how to let gamepad input not so sensitive?

    I have two scene , both use the button A.
    button A in scene A is for switch to scene B.
    button A in scene B is for starting game or doing something.

    unity is too sensitive in catching the input ,
    when I press button A and release it Immediately
    then scene switch to scene B and game is start....

    what I want is
    press button A in scene A and switch into scene B,
    then press button A again to start the game.

    how should I do ?
    change the Input axes?
    my setting for button A is

    Gravity : 100
    Dead : 0
    Sensitivity : 100
    snap : unchecked
    Invert : unchecked

    other is null

    Thanks for your helping and for my poor English

    Best regards,
    Lazior
     
  2. DavidErosa

    DavidErosa

    Joined:
    Aug 30, 2012
    Posts:
    41
    How are you checking the buttons? Be sure to use GetButtonDown and not GetButton. The first one will only fire once for the frame the button was pressed, but "GetButton" will report true while the button is pressed, so you may end up with two calls instead on one, therefore the scene switching. But without seeing your code, this is all my guess. Please post the scene switching code as well as other relevant parts so we can help better.

    Regards,

    David