CorePuzzleTrigger
Last updated
Was this helpful?
Last updated
Was this helpful?
The default trigger component should be used when you want to activate it manually within your own script/event.
The component has public methods that you can use for this purpose:
The inspector view interface provides you with 3 fields:
Allow Multiple Triggering -- is it allowed to trigger it multiple times? If set to 'true', it will be possible to trigger the object multiple times regardless of its state.
OnTriggerEvent -- callback that happens whenever the trigger is activated.
OnUnTriggerEvent -- callback that happens whenever the trigger is deactivated.