Component:CharacterEventTrigger

From Resonite Wiki
Revision as of 18:31, 19 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
CharacterEventTrigger component as seen in the Scene Inspector

The CharacterEventTrigger component invokes Action<Float3> triggers whenever a user enters or exits an attached collider.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
TriggersOnly Bool Whether to only use Trigger type colliders on this hierarchy when detecting character collisions.
TriggerEntered direct SyncDelegateList`1<Action`1<Float3>> Triggered when a user enters a collider attached to the parent slot
TriggerLeft direct SyncDelegateList`1<Action`1<Float3>> Triggered when a user exits a collider attached to the parent slot
IgnoreParentUser Bool If this component is under a user in the hierarchy, events from that user are ignored.

Behavior

Examples

Related Components