POITooltipSpawn Class |
Namespace: ImmerseSDK.UI
public class POITooltipSpawn : UnityEngine.MonoBehaviour
The POITooltipSpawn type exposes the following members.
Name | Description | |
---|---|---|
POITooltipSpawn | Initializes a new instance of the POITooltipSpawn class |
Name | Description | |
---|---|---|
Awake | ||
SetEnabled |
Enable the tooltip (show it) or hide the tooltip
|
Name | Description | |
---|---|---|
_autoDetectTransformSyncPivot |
If true, and no pivot is set, we will try to find the parent TransformSync (if one exists) and set that as the pivot
| |
_autoHideIntervalInSeconds |
Number of seconds to wait before hiding the tooltip automatically. Set to 0 (Default) which disables this feature
| |
_maxDistanceInMeters |
Maximum total distance in meters. This should be larger than _maxDistanceForTooltip.
At distance > _maxDistanceForTooltip and distance < _maxDistanceForTooltip, the arrow is displayed
At distance < _maxDistanceForTooltip the tooltip is displayed and the arrow hidden
| |
_maxDistanceInMetersForTooltip |
Maximum distance in meters before showing the tooltip. This should be less than _maxDistanceInMeters.
At distance > _maxDistanceForTooltip and distance < _maxDistanceForTooltip, the arrow is displayed
At distance < _maxDistanceForTooltip the tooltip is displayed and the arrow hidden
| |
_noInteractionPeriodForShow |
Number of seconds with no interactions to trigger the display of the tooltip. Set to 0 (Default) which disables this feature
| |
_numberOfTimesToShowTooltip |
Number of times to show the tooltip. Set to 0 (Default) which disables this feature
| |
_pivot |
Pivot to use for the tooltip. Set this to the TransformSync if the tooltip relates to a pickup.
If none is supplied, the tooltip will not "float" above the tracjed object.
| |
_startEnabled |
Should the tooltip start disabled (hidden)?
| |
_tint |
Color to tint the images with
| |
_tooltipText |
Text to display
| |
_verboseLoggingInEditor |
EDITOR ONLY: do verbose logging for this object
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |