This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
How to access Events "OnToggled" and "OnUntoggled" of a PressableButton? #11812
Labels
You can continue the conversation there. Go to discussion →
I replaced all my toggles with the new PressableButton of the MRTK3. Before the update, I subscribed to "onValueChanged" of my Toggle element. Now this event does not exist anymore. The PressableButton offers "OnToggled" and "OnUntoggled" in the inspector. I cannot find the right way, to access these events in my code.
The docu talks about the StatefulInteractable. But even this class does not offer those events. I could use some help.
The text was updated successfully, but these errors were encountered: