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
파일 보기 프로젝트 열기: Backman/Hellbound

공개 메소드들

메소드 설명
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