C# 클래스 GazePointer, OCDEscape

This is a pointer for gazing and interacting with things It should be attached to the camera, and the object's forward direction should match with where it is pointing.
상속: MonoBehaviour
파일 보기 프로젝트 열기: gadauto3/OCDEscape 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
anchorDistance float
grabbedInteractableMask LayerMask
interactableMask LayerMask

보호된 프로퍼티들

프로퍼티 타입 설명
anchor Transform
highlightedGrabbedObject HighlightManager,
highlightedObject InteractableObject,
interacting bool
interactingObject InteractableObject,

보호된 메소드들

메소드 설명
Awake ( ) : void
CreateAnchor ( ) : void
FixedUpdate ( ) : void
IsClickDown ( ) : bool
OnHit ( RaycastHit hitInfo, InteractableObject, interactable ) : void
Update ( ) : void
UpdateHighlight ( InteractableObject, interactable ) : void
UpdateInteracting ( ) : void
UpdateNotInteracting ( ) : void

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

CreateAnchor() 보호된 메소드

protected CreateAnchor ( ) : void
리턴 void

FixedUpdate() 보호된 메소드

protected FixedUpdate ( ) : void
리턴 void

IsClickDown() 보호된 메소드

protected IsClickDown ( ) : bool
리턴 bool

OnHit() 보호된 메소드

protected OnHit ( RaycastHit hitInfo, InteractableObject, interactable ) : void
hitInfo UnityEngine.RaycastHit
interactable InteractableObject,
리턴 void

Update() 보호된 메소드

protected Update ( ) : void
리턴 void

UpdateHighlight() 보호된 메소드

protected UpdateHighlight ( InteractableObject, interactable ) : void
interactable InteractableObject,
리턴 void

UpdateInteracting() 보호된 메소드

protected UpdateInteracting ( ) : void
리턴 void

UpdateNotInteracting() 보호된 메소드

protected UpdateNotInteracting ( ) : void
리턴 void

프로퍼티 상세

anchor 보호되어 있는 프로퍼티

protected Transform anchor
리턴 Transform

anchorDistance 공개적으로 프로퍼티

public float anchorDistance
리턴 float

grabbedInteractableMask 공개적으로 프로퍼티

public LayerMask grabbedInteractableMask
리턴 LayerMask

highlightedGrabbedObject 보호되어 있는 프로퍼티

protected HighlightManager, highlightedGrabbedObject
리턴 HighlightManager,

highlightedObject 보호되어 있는 프로퍼티

protected InteractableObject, highlightedObject
리턴 InteractableObject,

interactableMask 공개적으로 프로퍼티

public LayerMask interactableMask
리턴 LayerMask

interacting 보호되어 있는 프로퍼티

protected bool interacting
리턴 bool

interactingObject 보호되어 있는 프로퍼티

protected InteractableObject, interactingObject
리턴 InteractableObject,