Метод | Описание | |
---|---|---|
addFocus ( Interactable, inter ) : void | ||
clearFocus ( ) : void | ||
getInteractableInFocus ( ) : Interactable, |
Returns the interactable in focus. This must be controlled, might be null.
|
|
updateFocus ( ) : void |
Метод | Описание | |
---|---|---|
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, | |
Результат | void |
public getInteractableInFocus ( ) : Interactable, | ||
Результат | Interactable, |