C# Класс InteractableDetectorZone, Hellbound

Interactable detector zone. This class handles the logic for the zone infront of the player that scans for interactable objects Created by Simon Jonasson
Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

addFocus() публичный Метод

public addFocus ( Interactable, inter ) : void
inter Interactable,
Результат void

clearFocus() публичный Метод

public clearFocus ( ) : void
Результат void

getInteractableInFocus() публичный Метод

Returns the interactable in focus. This must be controlled, might be null.
public getInteractableInFocus ( ) : Interactable,
Результат Interactable,

updateFocus() публичный Метод

public updateFocus ( ) : void
Результат void