C# Class 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.
Inheritance: MonoBehaviour
Afficher le fichier Open project: gadauto3/OCDEscape Class Usage Examples

Méthodes publiques

Свойство Type Description
anchorDistance float
grabbedInteractableMask LayerMask
interactableMask LayerMask

Protected Properties

Свойство Type Description
anchor Transform
highlightedGrabbedObject HighlightManager,
highlightedObject InteractableObject,
interacting bool
interactingObject InteractableObject,

Méthodes protégées

Méthode Description
Awake ( ) : void
CreateAnchor ( ) : void
FixedUpdate ( ) : void
IsClickDown ( ) : bool
OnHit ( RaycastHit hitInfo, InteractableObject, interactable ) : void
Update ( ) : void
UpdateHighlight ( InteractableObject, interactable ) : void
UpdateInteracting ( ) : void
UpdateNotInteracting ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CreateAnchor() protected méthode

protected CreateAnchor ( ) : void
Résultat void

FixedUpdate() protected méthode

protected FixedUpdate ( ) : void
Résultat void

IsClickDown() protected méthode

protected IsClickDown ( ) : bool
Résultat bool

OnHit() protected méthode

protected OnHit ( RaycastHit hitInfo, InteractableObject, interactable ) : void
hitInfo UnityEngine.RaycastHit
interactable InteractableObject,
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

UpdateHighlight() protected méthode

protected UpdateHighlight ( InteractableObject, interactable ) : void
interactable InteractableObject,
Résultat void

UpdateInteracting() protected méthode

protected UpdateInteracting ( ) : void
Résultat void

UpdateNotInteracting() protected méthode

protected UpdateNotInteracting ( ) : void
Résultat void

Property Details

anchor protected_oe property

protected Transform anchor
Résultat Transform

anchorDistance public_oe property

public float anchorDistance
Résultat float

grabbedInteractableMask public_oe property

public LayerMask grabbedInteractableMask
Résultat LayerMask

highlightedGrabbedObject protected_oe property

protected HighlightManager, highlightedGrabbedObject
Résultat HighlightManager,

highlightedObject protected_oe property

protected InteractableObject, highlightedObject
Résultat InteractableObject,

interactableMask public_oe property

public LayerMask interactableMask
Résultat LayerMask

interacting protected_oe property

protected bool interacting
Résultat bool

interactingObject protected_oe property

protected InteractableObject, interactingObject
Résultat InteractableObject,