r/UnityHelp • • Oct 22 '22

Unity slider displaying different values

I have a game where you have a flashlight and a slider for fuel, when you run low on fuel you can pickup a canister to replenish 75f. The problem is that after you pickup the canister the slider displays the value before picking up when the flashlight is active. Any tips

here are all the instances of changing the slider value

3 Upvotes

3 comments sorted by

View all comments

1

u/MasterCoconut22 Oct 24 '22

Update!

I somehow fixed it, I had a health slider that was working fine so I just copied the same thing and renamed some things and now its working perfectly.