imported>Kazu mNo edit summary |
Please no Logix, also bad language I fixed it. |
||
Line 1: | Line 1: | ||
<languages></languages> | <languages></languages> | ||
<translate> | <translate> | ||
{{Infobox Component | {{Infobox Component | ||
Line 9: | Line 8: | ||
}} | }} | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
Line 17: | Line 15: | ||
}} | }} | ||
== Usage == | == Usage == | ||
*To | *To trigger a hyperlink component without a touchable/interactable component you can use a TouchEventRelay. You a touch event relay on the collider of your object, then put a hyperlink or other touchables as children (with no colliders on them) then add them to the TouchableTargets list of the TouchEventRelay. | ||
== Examples == | == Examples == | ||
* [https://www.youtube.com/watch?v=5n2veHi-CJU Using TouchEventRelay for complicated Touch Events] by [[User:ProbablePrime|ProbablePrime]] | * [https://www.youtube.com/watch?v=5n2veHi-CJU Using TouchEventRelay for complicated Touch Events] by [[User:ProbablePrime|ProbablePrime]] | ||
== Related Components == | == Related Components == | ||
* [[ | * [[Touchable Events (ProtoFlux Node)]] can be used with TouchEventRelay. | ||
TouchEventRelay can relay events from a Touchable element to fire another ITouchable component. | |||
[[Category:Components{{#translation:}}|Touch Event Relay]] | [[Category:Components{{#translation:}}|Touch Event Relay]] | ||
[[Category:Components:Transform:Interaction{{#translation:}}|Touch Event Relay]] | [[Category:Components:Transform:Interaction{{#translation:}}|Touch Event Relay]] |
Revision as of 00:36, 14 January 2024
<translate>
Component image
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. |
Touched
|
WorldDelegate | |
AcceptOutOfSightTouch
|
Bool | |
TouchableTargets
|
SyncRefList<ITouchable> |
Usage
- To trigger a hyperlink component without a touchable/interactable component you can use a TouchEventRelay. You a touch event relay on the collider of your object, then put a hyperlink or other touchables as children (with no colliders on them) then add them to the TouchableTargets list of the TouchEventRelay.
Examples
Related Components
- Touchable Events (ProtoFlux Node) can be used with TouchEventRelay.
TouchEventRelay can relay events from a Touchable element to fire another ITouchable component.