Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question Volume slider UI sometimes doesn't slide when I press it

Discussion in 'Editor & General Support' started by matthewcooper, Jun 4, 2020.

  1. matthewcooper

    matthewcooper

    Joined:
    Apr 25, 2019
    Posts:
    40
    I have made an options menu with two sliders to change the volume on my game, I'm making this for mobile and when I press on the slider to change it at first it will work absolutely fine but after doing it a few times it will start to not work. Also if I slide it all the way to the end so it would be at max then the slider completely stops working and won't slide at all. I haven't got any code behind these sliders, it's just the UI.

    Does anyone have any ideas on how to fix this?
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    A good way to debug the UI in the editor is to take a look at the event system.
    It can tell you what its hitting, then you can see if what you are hitting is what you are expecting to hit if you are trying to move / interact with the slider.
     
    manan966 likes this.
  3. manan966

    manan966

    Joined:
    Sep 7, 2020
    Posts:
    57
    having the same problem ..what should i look in event system so that my slider will slide?