TooltipBase Methods |
The TooltipBase type exposes the following members.
Name | Description | |
---|---|---|
Awake |
Unity Component method
| |
CalculateScale |
Called once per frame to calculate the scale value. Use this method to determine visibility as well.
| |
GetCamera |
Gets the camera that's currently being used to render the tooltip
| |
LateUpdate |
Unity Component method
| |
SetEnabled |
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.
| |
ShowRoot |
Show/hide the root
| |
Start |
Unity Component method
| |
UpdateOriginalScaleAndPosition |
Update original scale and position
| |
UpdateTooltip |
Update the tooltip by calculating distance from camera and scale etc
| |
UpdateUI |
Initialise the tooltip with specified information
| |
UpdateVisibility |
Make the tooltip visible, or hide it
| |
UpdateVisibility(Single) |
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.) |