OnBegin<override>()<suspends> : void =
# "When the reward button is interacted with, run OnRewardPressed."
RewardButton.InteractedWithEvent.Subscribe(OnRewardPressed)
Verse Library
verse
02 Fragment
Subscribes to the button interaction event to trigger the reward handling function when players press it.
verse-library/verse-devices-common-devices/02-fragment.verse