I have an Option Menu in my game and a toggle button in it.
The option menu is hidden by default, and I uset SetActive(true) to display it when the user open this option menu, at the same time, the toggle button in this menu will trigger the function inside On Value Change, even the user has not clicked on it yet.
How to fix this? Thanks.