Click or drag to resize

POITooltip Fields

Fields
  NameDescription
Private field_animator
Animator to use for animation. If this isn't set, the component will look for an Animator on the same GameObject, and if not found, it will not play animations.
Private field_arrowTransform
Transform of the Arrow object so we can move the canvas slightly when we scale up and down to keep it pointing at the correct location
Private field_hideTriggerParameterName
The trigger parameter in the animation state machine
Private field_maxDistanceInMeters
Maximum distance in meters for tooltip to show
Private field_maxDistanceInMetersForTooltip
Maximum distance in meters for arrow to show
Private field_minDistanceInMeters
Minimum distance in meters
Private field_showArrowTriggerParameterName
The trigger parameter in the animation state machine
Private field_showTooltipTriggerParameterName
The trigger parameter in the animation state machine
Private field_sizeScalarAtMaxDistance
Scalar to either reduce or enlarge the size of the tooltip the further away it gets from the min distance. A value of 1.0f keeps it at the same size up to max distance. A value of 0.9f will use 90% of the size at max distance, and 100% of the size at min distance.
Top
See Also