using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
change_crashpad_state_device := class(creative_device):
@editable
EnableButtonDevice:button_device = button_device{}
@editable
DisableButtonDevice:button_device = button_device{}
@editable
CrashPadDevice:crash_pad_device = crash_pad_device{}
OnBegin<override>()<suspends>:void=
EnableButtonDevice.InteractedWithEvent.Subscribe(OnInteractEnable)
DisableButtonDevice.InteractedWithEvent.Subscribe(OnInteractDisable)
OnInteractEnable(Agent:agent):void=
CrashPadDevice.Enable()
OnInteractDisable(Agent:agent):void=
CrashPadDevice.Disable()