Apparently, TouchEventRelay can relay events from a Touchable element to fire another ITouchable component.
{{Infobox Component
{{Infobox Component
Line 9:
Line 8:
}}
}}
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
Line 17:
Line 15:
}}
}}
<!--T:3-->
== Usage ==
== Usage ==
*To Use hyperlink item without touchable/interactable component: Use TouchEventRelay. You put that on the top of your object, then put the hyperlink and other touchables as children (with no colliders on them) and add them to the list of "TouchableTargets" of the TouchEventRelay. [https://discord.com/channels/402159838827905024/477711742001086505/721967459262791730| Discord]
*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]]
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Touchable_Events_(LogiX_node)]] Needs to be used with TouchEventRelay under Transform/Interaction) [https://discord.com/channels/402159838827905024/469131434628612116/655778555594014740| Discord]
* [[Touchable Events (ProtoFlux Node)]] can be used with TouchEventRelay.
</translate>
TouchEventRelay can relay events from a Touchable element to fire another ITouchable component.
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.