API reference
API reference
Select your platform
No SDKs available
No versions available

InteractableObjectLabel Class

Extends MonoBehaviour
Label use to tag the possible interaction in each object.
It appears when the user faces the object and disappears if the object is not being faced directly or an interaction was triggered. The default material makes sure the labels appear in front of everything, and uses the CanvasRenderTexture to render anything that is added to the canvas.

Fields

List< Transform > viewTargets[Get]
List< Transform > labelPositions[Get]
Transform playerHead[Get]
InteractableGroupView interactableGroup[Get]
CanvasGroup group[Get]
float alphaAnimationSpeed[Get]
float focusDelay[Get]
float hideDelay[Get]
float alignmentThreshold[Get]
float minScale[Get]
float positionAnimationSpeed[Get]
Mesh quadMesh[Get]
Material quadMaterial[Get]
RectTransform canvasTransform[Get]
CanvasRenderTexture canvasTexture[Get]

Protected Fields

bool _started[Get]
Did you find this page helpful?
Thumbs up icon
Thumbs down icon