Method | Description | |
---|---|---|
addFocus ( Interactable, inter ) : void | ||
clearFocus ( ) : void | ||
getInteractableInFocus ( ) : Interactable, |
Returns the interactable in focus. This must be controlled, might be null.
|
|
updateFocus ( ) : void |
Method | Description | |
---|---|---|
OnTriggerEnter ( Collider col ) : void |
This function is called on the Interactable as the interactable enters the players interact zone
|
|
OnTriggerExit ( Collider col ) : void |
This function is called on the Interactable as it leaves the players interact zone
|
|
Start ( ) : void | ||
Update ( ) : void | ||
setupInteractText ( ) : void |
public addFocus ( Interactable, inter ) : void | ||
inter | Interactable, | |
return | void |
public getInteractableInFocus ( ) : Interactable, | ||
return | Interactable, |