TouchEventRelay (Component)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.

Apparently, TouchEventRelay can relay events from a Touchable element to fire another ITouchable component.

Touch Event Relay component as seen in the Scene Inspector

Fields

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 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. Discord

Examples

Related Components