Use Item Trigger component
“Use” function is added to the item for which Use Item Trigger is set. You will be notified of a message when you use the item while holding it and when you stop using it.
The behavior of “using” and stopping “using” differs depending on the platform.
- In the mobile version, press / release the button that appears at the end of the side holding the item
- In the VR version, pull / release the trigger of the controller holding the item
- In the desktop version, press / release the mouse button on the side holding the item
Will be
Property
Property | function |
---|---|
Down Triggers | This is the setting of the target and content of the message to be notified when the “use” operation is started. For details, see the setting items common to triggers. |
Up Triggers | This is the setting of the target and content of the message to be notified when the “use” operation is completed. For details, see the setting items common to triggers. |
The following components are automatically added when this trigger is attached: Grabbable Item component
Up Triggers will not be notified if you let go of an item while in use. On Release Item Trigger (On Release Item Trigger)https://docs.cluster.mu/creatorkit/en/trigger-components/on-release-item-trigger/) Please add.