-
Notifications
You must be signed in to change notification settings - Fork 0
Interaction.cs
Matthew Coulter edited this page Aug 17, 2022
·
1 revision
class/ Inherits from:None
This class allows configuration of label, input method and custom interaction sequence to be configured in the inspector
Property | Description | Type |
---|---|---|
label; | how the users identifies the interaction | string |
method; | how the user triggers the action (identifier from the Input Manager) | string |
onInteract; | what happens when this interaciton happens | UnityEvent |
Method | Description | Returns | Parameters | Type |
---|---|---|---|---|
Triggered | Determines whether the user has inputted the required input to trigger the action | True or false | bool | |
Interact | Runs the interaction sequence | void |