Skip to content

InteractionMenuLine.cs

Matthew Coulter edited this page Aug 17, 2022 · 1 revision

InteractionMenuLine

class/ Inherits from:MonoBehaviour

Description

helper functions to easily set children based on interaction object

Public Methods

Method Description Returns Parameters Type
OnInitialise Called when the interaction Line prefab is added to the uiSets the label and sprite values based on what the interaction is and how the user can trigger it. interaction: The configured interaction of label, input method and onInteraction sequence void