C# Class GrabAndPlaceObject, OCDEscape

This is like Grabbable object but with no physics.
Inheritance: InteractableObject
Afficher le fichier Open project: gadauto3/OCDEscape

Méthodes publiques

Свойство Type Description
customLoopFreq float
customLoopStartAudio bool
grabSpeed float
grabbedInteractTag string
onObjectPlacedAction UnityAction
verticalAnchorOffset float
verticalInitOffset float
verticalPlacedOffset float

Protected Properties

Свойство Type Description
beforeMovePosition Vector3
doCustomLoopAudio bool
gazeAnchor Transform
grabbed bool
initParent Transform
initPosition Vector3
initRotation Quaternion
movingToAnchor bool
movingToPlacedPosition bool
placed bool
placement GrabbedInteractablePlacement,
pointer GazePointer,

Méthodes publiques

Méthode Description
OffInteract ( GazePointer, pointer, Transform objectToInteractWith ) : bool
OnGrabbedHighlight ( Transform highlightedObject ) : bool
OnInteract ( GazePointer, pointer ) : bool
StartInteraction ( ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
CustomLoopAudio ( ) : IEnumerator
GetMoveToAnchorOffsetPosition ( ) : Vector3
GetMoveToAnchorPosition ( ) : Vector3
GetMoveToNotGrabbedOffsetPosition ( ) : Vector3
GetMoveToNotGrabbedPosition ( ) : Vector3
GetMoveToNotGrabbedRotation ( ) : Quaternion
MoveToAnchorPosition ( ) : IEnumerator
MoveToNotGrabbedPosition ( ) : IEnumerator

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CustomLoopAudio() protected méthode

protected CustomLoopAudio ( ) : IEnumerator
Résultat IEnumerator

GetMoveToAnchorOffsetPosition() protected méthode

protected GetMoveToAnchorOffsetPosition ( ) : Vector3
Résultat Vector3

GetMoveToAnchorPosition() protected méthode

protected GetMoveToAnchorPosition ( ) : Vector3
Résultat Vector3

GetMoveToNotGrabbedOffsetPosition() protected méthode

protected GetMoveToNotGrabbedOffsetPosition ( ) : Vector3
Résultat Vector3

GetMoveToNotGrabbedPosition() protected méthode

protected GetMoveToNotGrabbedPosition ( ) : Vector3
Résultat Vector3

GetMoveToNotGrabbedRotation() protected méthode

protected GetMoveToNotGrabbedRotation ( ) : Quaternion
Résultat Quaternion

MoveToAnchorPosition() protected méthode

protected MoveToAnchorPosition ( ) : IEnumerator
Résultat IEnumerator

MoveToNotGrabbedPosition() protected méthode

protected MoveToNotGrabbedPosition ( ) : IEnumerator
Résultat IEnumerator

OffInteract() public méthode

public OffInteract ( GazePointer, pointer, Transform objectToInteractWith ) : bool
pointer GazePointer,
objectToInteractWith Transform
Résultat bool

OnGrabbedHighlight() public méthode

public OnGrabbedHighlight ( Transform highlightedObject ) : bool
highlightedObject Transform
Résultat bool

OnInteract() public méthode

public OnInteract ( GazePointer, pointer ) : bool
pointer GazePointer,
Résultat bool

StartInteraction() public méthode

public StartInteraction ( ) : void
Résultat void

Property Details

beforeMovePosition protected_oe property

protected Vector3 beforeMovePosition
Résultat Vector3

customLoopFreq public_oe property

public float customLoopFreq
Résultat float

customLoopStartAudio public_oe property

public bool customLoopStartAudio
Résultat bool

doCustomLoopAudio protected_oe property

protected bool doCustomLoopAudio
Résultat bool

gazeAnchor protected_oe property

protected Transform gazeAnchor
Résultat Transform

grabSpeed public_oe property

public float grabSpeed
Résultat float

grabbed protected_oe property

protected bool grabbed
Résultat bool

grabbedInteractTag public_oe property

public string grabbedInteractTag
Résultat string

initParent protected_oe property

protected Transform initParent
Résultat Transform

initPosition protected_oe property

protected Vector3 initPosition
Résultat Vector3

initRotation protected_oe property

protected Quaternion initRotation
Résultat Quaternion

movingToAnchor protected_oe property

protected bool movingToAnchor
Résultat bool

movingToPlacedPosition protected_oe property

protected bool movingToPlacedPosition
Résultat bool

onObjectPlacedAction public_oe property

public UnityAction onObjectPlacedAction
Résultat UnityAction

placed protected_oe property

protected bool placed
Résultat bool

placement protected_oe property

protected GrabbedInteractablePlacement, placement
Résultat GrabbedInteractablePlacement,

pointer protected_oe property

protected GazePointer, pointer
Résultat GazePointer,

verticalAnchorOffset public_oe property

public float verticalAnchorOffset
Résultat float

verticalInitOffset public_oe property

public float verticalInitOffset
Résultat float

verticalPlacedOffset public_oe property

public float verticalPlacedOffset
Résultat float