Protected
constructorIf disabled, the Component will stop enacting its behavior.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueDestroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Hides the hint with id hintID
.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Shows the hint with id hintID
for a duration of duration
seconds. Use a duration of -1 to keep the hint onscreen forever.
Used to display text hints in a Lens.
See
Scripting Hints Guide.
Remarks
If you only need to show one hint on Lens start up, you can configure your project to display the hint without scripting it.
Example