C# Class GrabAndPlaceObject, OCDEscape

This is like Grabbable object but with no physics.
Inheritance: InteractableObject
ファイルを表示 Open project: gadauto3/OCDEscape

Public Properties

Property Type Description
customLoopFreq float
customLoopStartAudio bool
grabSpeed float
grabbedInteractTag string
onObjectPlacedAction UnityAction
verticalAnchorOffset float
verticalInitOffset float
verticalPlacedOffset float

Protected Properties

Property 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,

Public Methods

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

Protected Methods

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

Method Details

Awake() protected method

protected Awake ( ) : void
return void

CustomLoopAudio() protected method

protected CustomLoopAudio ( ) : IEnumerator
return IEnumerator

GetMoveToAnchorOffsetPosition() protected method

protected GetMoveToAnchorOffsetPosition ( ) : Vector3
return Vector3

GetMoveToAnchorPosition() protected method

protected GetMoveToAnchorPosition ( ) : Vector3
return Vector3

GetMoveToNotGrabbedOffsetPosition() protected method

protected GetMoveToNotGrabbedOffsetPosition ( ) : Vector3
return Vector3

GetMoveToNotGrabbedPosition() protected method

protected GetMoveToNotGrabbedPosition ( ) : Vector3
return Vector3

GetMoveToNotGrabbedRotation() protected method

protected GetMoveToNotGrabbedRotation ( ) : Quaternion
return Quaternion

MoveToAnchorPosition() protected method

protected MoveToAnchorPosition ( ) : IEnumerator
return IEnumerator

MoveToNotGrabbedPosition() protected method

protected MoveToNotGrabbedPosition ( ) : IEnumerator
return IEnumerator

OffInteract() public method

public OffInteract ( GazePointer, pointer, Transform objectToInteractWith ) : bool
pointer GazePointer,
objectToInteractWith Transform
return bool

OnGrabbedHighlight() public method

public OnGrabbedHighlight ( Transform highlightedObject ) : bool
highlightedObject Transform
return bool

OnInteract() public method

public OnInteract ( GazePointer, pointer ) : bool
pointer GazePointer,
return bool

StartInteraction() public method

public StartInteraction ( ) : void
return void

Property Details

beforeMovePosition protected_oe property

protected Vector3 beforeMovePosition
return Vector3

customLoopFreq public_oe property

public float customLoopFreq
return float

customLoopStartAudio public_oe property

public bool customLoopStartAudio
return bool

doCustomLoopAudio protected_oe property

protected bool doCustomLoopAudio
return bool

gazeAnchor protected_oe property

protected Transform gazeAnchor
return Transform

grabSpeed public_oe property

public float grabSpeed
return float

grabbed protected_oe property

protected bool grabbed
return bool

grabbedInteractTag public_oe property

public string grabbedInteractTag
return string

initParent protected_oe property

protected Transform initParent
return Transform

initPosition protected_oe property

protected Vector3 initPosition
return Vector3

initRotation protected_oe property

protected Quaternion initRotation
return Quaternion

movingToAnchor protected_oe property

protected bool movingToAnchor
return bool

movingToPlacedPosition protected_oe property

protected bool movingToPlacedPosition
return bool

onObjectPlacedAction public_oe property

public UnityAction onObjectPlacedAction
return UnityAction

placed protected_oe property

protected bool placed
return bool

placement protected_oe property

protected GrabbedInteractablePlacement, placement
return GrabbedInteractablePlacement,

pointer protected_oe property

protected GazePointer, pointer
return GazePointer,

verticalAnchorOffset public_oe property

public float verticalAnchorOffset
return float

verticalInitOffset public_oe property

public float verticalInitOffset
return float

verticalPlacedOffset public_oe property

public float verticalPlacedOffset
return float