Class HoverTooltip
public sealed class HoverTooltip
- Inheritance
-
object
HoverTooltip
Fields
public const int OrderHoverResolve = 150
Field Value
- int
Properties
public static bool? FocusedOverride { get; set; }
Property Value
- bool?
public static Vector2? PointerOverride { get; set; }
Property Value
- Vector2?
Methods
public void Claim(object owner, double distanceSq)
Parameters
owner object
distanceSq double
public static HoverTooltip For(object mapScope)
Parameters
mapScope object
Returns
- HoverTooltip
public bool IsWinner(object owner)
Parameters
owner object
Returns
- bool
public bool PointerHasLeft(VisualElement hovered)
Parameters
hovered VisualElement
Returns
- bool
public static void ResetAll()
public void Show(string text, Color textColor, Color background, int fontSize, Font font)
Parameters
text string
textColor Color
background Color
fontSize int
font Font
public static void TickAll()