Get Boolean from Toggle and send to delegate

I also just want to chime in that I normally do add listener and remove listener in your OnEnable and OnDisable functions respectively.

The documentation page for AddListener shows a pretty basic way of using it. As for using delegates, this forum page might help a bit in understanding.

1 Like