This script is used for interactions with objects with optional tooltips.
|
void | Start () |
|
void | Update () |
|
abstract void | OnInteraction (RaycastHit raycastHit) |
| Execute whatever should happen when the raycast found a valid object to interact with.
|
|
abstract void | OnInteraction (RaycastHit2D raycastHit) |
| Execute whatever should happen when the raycast found a valid object to interact with.
|
|
abstract void | OnHit (RaycastHit raycastHit) |
| Execute whatever should happen when the raycast found a valid object.
|
|
abstract void | OnHit (RaycastHit2D raycastHit) |
| Execute whatever should happen when the raycast found a valid object.
|
|
◆ OnHit() [1/2]
abstract void UnityToolbox.PlayerControls.RaycastDetection.OnHit |
( |
RaycastHit |
raycastHit | ) |
|
|
pure virtual |
◆ OnHit() [2/2]
abstract void UnityToolbox.PlayerControls.RaycastDetection.OnHit |
( |
RaycastHit2D |
raycastHit | ) |
|
|
pure virtual |
◆ OnInteraction() [1/2]
abstract void UnityToolbox.PlayerControls.RaycastDetection.OnInteraction |
( |
RaycastHit |
raycastHit | ) |
|
|
pure virtual |
◆ OnInteraction() [2/2]
abstract void UnityToolbox.PlayerControls.RaycastDetection.OnInteraction |
( |
RaycastHit2D |
raycastHit | ) |
|
|
pure virtual |
◆ Start()
void UnityToolbox.PlayerControls.RaycastDetection.Start |
( |
| ) |
|
◆ Update()
void UnityToolbox.PlayerControls.RaycastDetection.Update |
( |
| ) |
|
◆ _appendedTooltip
string UnityToolbox.PlayerControls.RaycastDetection._appendedTooltip |
|
protected |
◆ _input
PlayerInput UnityToolbox.PlayerControls.RaycastDetection._input |
|
protected |
◆ _interactActionName
string UnityToolbox.PlayerControls.RaycastDetection._interactActionName |
|
protected |
◆ _isBinding
bool UnityToolbox.PlayerControls.RaycastDetection._isBinding |
|
protected |
◆ _raycastLocation
Transform UnityToolbox.PlayerControls.RaycastDetection._raycastLocation |
|
protected |
◆ _tooltip
string UnityToolbox.PlayerControls.RaycastDetection._tooltip |
|
protected |
◆ _tooltipEnabled
bool UnityToolbox.PlayerControls.RaycastDetection._tooltipEnabled |
|
protected |