Property | Type | Description | |
---|---|---|---|
anchorDistance | float | ||
grabbedInteractableMask | LayerMask | ||
interactableMask | LayerMask |
Property | Type | Description | |
---|---|---|---|
anchor | Transform | ||
highlightedGrabbedObject | HighlightManager, | ||
highlightedObject | InteractableObject, | ||
interacting | bool | ||
interactingObject | InteractableObject, |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CreateAnchor ( ) : void | ||
FixedUpdate ( ) : void | ||
IsClickDown ( ) : bool | ||
OnHit ( |
||
Update ( ) : void | ||
UpdateHighlight ( InteractableObject, interactable ) : void | ||
UpdateInteracting ( ) : void | ||
UpdateNotInteracting ( ) : void |
protected OnHit ( |
||
hitInfo | ||
interactable | InteractableObject, | |
return | void |
protected UpdateHighlight ( InteractableObject, interactable ) : void | ||
interactable | InteractableObject, | |
return | void |
protected HighlightManager, highlightedGrabbedObject | ||
return | HighlightManager, |
protected InteractableObject, highlightedObject | ||
return | InteractableObject, |