Game.UI.Tooltip.FloatTooltip
Assembly:
Assembly-CSharp
Namespace: Game.UI.Tooltip
Type:
class
Base:
NumberTooltip
Summary:
A concrete, strongly-typed tooltip class for displaying floating-point numbers in the UI. FloatTooltip does not add any new members or behavior; it simply specializes the generic NumberTooltip
Fields
- None.
This class declares no fields of its own. Any fields used for state are inherited from NumberTooltipor higher in the inheritance chain.
Properties
- None declared.
All properties come from the base generic NumberTooltip(if any). Use the base-class API for getting/setting values, formatting, visibility, etc.
Constructors
- Default parameterless constructor (compiler-generated)
No explicit constructors are declared. For Unity MonoBehaviour-style components, the class is intended to be attached to GameObjects rather than instantiated with new.
Methods
- None declared.
All runtime behavior and public API surface (methods like show/hide/update methods, if provided) come from NumberTooltip.
Usage Example
// Typical usage in a Unity context: attach the component to a GameObject and use
// the base class API to set or show a float value. The exact method names depend
// on NumberTooltip<float>'s implementation.
var tooltip = gameObject.AddComponent<Game.UI.Tooltip.FloatTooltip>();
// Use the inherited API to set or display a float value. Example method names
// will vary (e.g., SetValue, Show, UpdateNumber); replace with the actual base-class methods:
// tooltip.SetValue(3.1415f);
// tooltip.Show();