Skip to content

InteractionManager.cs

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

InteractionManager

class/ Inherits from:MonoBehaviour

Description

Holds a reference to all of the current Interactions that the user can performUsed for the UI as the player can be inside of multiple interaction collider, all of the interaction options need to show

Public Properties

Property Description Type
currentInteractions; List of all the current possible interactions List

Public Methods

Method Description Returns Parameters Type
AddInteractions Adds multiple interaction options to the current active list interactable: The component which holds the interactions with a specific object void
RemoveInteractions Removes multiple interaction options to the current active list interactable: The component which holds the interactions with a specific object void