Click or drag to resize

TooltipBase Methods

The TooltipBase type exposes the following members.

Methods
  NameDescription
Protected methodAwake
Unity Component method
Protected methodCalculateScale
Called once per frame to calculate the scale value. Use this method to determine visibility as well.
Protected methodGetCamera
Gets the camera that's currently being used to render the tooltip
Protected methodLateUpdate
Unity Component method
Public methodSetEnabled
Set the default visibility. If the tooltip is enabled, depending on specialisations, the tooltip can still be hidden based on those requirements (like distance for instance). If the tooltip is disabled, it will always stay hidden.
Protected methodShowRoot
Show/hide the root
Protected methodStart
Unity Component method
Public methodUpdateOriginalScaleAndPosition
Update original scale and position
Protected methodUpdateTooltip
Update the tooltip by calculating distance from camera and scale etc
Public methodUpdateUI
Initialise the tooltip with specified information
Protected methodUpdateVisibility
Make the tooltip visible, or hide it
Protected methodUpdateVisibility(Single)
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also