This script is used for interactions with objects with optional tooltips.
|
| void | Start () |
| |
| void | Update () |
| |
| abstract void | OnInteraction (GameObject foundObject) |
| | Execute whatever should happen when the trigger found a valid object to interact with.
|
| |
◆ OnInteraction()
| abstract void TriggerDetection.OnInteraction |
( |
GameObject |
foundObject | ) |
|
|
pure virtual |
- Parameters
-
| foundObject | The trigger data. |
Referenced by Update().
◆ Start()
| void TriggerDetection.Start |
( |
| ) |
|
◆ Update()
| void TriggerDetection.Update |
( |
| ) |
|
◆ _appendedTooltip
| string TriggerDetection._appendedTooltip |
|
protected |
◆ _input
| PlayerInput TriggerDetection._input |
|
protected |
◆ _interactActionName
| string TriggerDetection._interactActionName |
|
protected |
◆ _isBinding
| bool TriggerDetection._isBinding |
|
protected |
◆ _tooltip
| string TriggerDetection._tooltip |
|
protected |
◆ _tooltipEnabled
| bool TriggerDetection._tooltipEnabled |
|
protected |