m ProbablePrime moved page CharacterEventTrigger (Component) to Component:CharacterEventTrigger: Creating component Namespace |
Automated: update component fields |
||
Line 10: | Line 10: | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|TriggerEntered|Action`1| | |TriggersOnly|Bool| | ||
|TriggerLeft|Action`1| | |TriggerEntered|{{RootFieldType|SyncDelegateList`1|[[Type:Action`1|Action`1]]<[[Type:Float3|Float3]]>}}|TypeAdv1=true| Triggered when a user enters a collider attached to the parent slot | ||
|TriggerLeft|{{RootFieldType|SyncDelegateList`1|[[Type:Action`1|Action`1]]<[[Type:Float3|Float3]]>}}|TypeAdv2=true| 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. | |IgnoreParentUser|Bool| If this component is under a user in the hierarchy, events from that user are ignored. | ||
}} | }} |
Revision as of 19:22, 1 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Intoduction
The CharacterEventTrigger component invokes Action<Float3> triggers whenever a user enters or exits an attached collider.
Usage
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 | |
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. |