Question by
HashVolt · Mar 17, 2020 at 09:03 PM ·
c#scripting problemtogglevsync
Help me the toggle is stuck
So, i have a vsync option in my options menu. For that one i use a toggle
I made a script that is used at the start of the game to check if the vsync is active and to sync the toggle to the state of the vsync.
It worked, Until now. This piece of code bellow for some reason breaks my toggle. It is stuck.
vsync = the toggle reference
SO HOW THE HELL DID IT BROKE LIKE THAT FOR NO REASON
By stuck i mean that nothing happens when i click on it.
screenshot-3.png
(15.5 kB)
Comment
Best Answer
Answer by HashVolt · Mar 17, 2020 at 09:05 PM
so just change enabled to IsOn and it worked for me