using UnityEngine; namespace NitroxClient.GameLogic.HUD.Components; /// /// Shows the ToolipText when hovering the GameObject containg this component /// public class ButtonTooltip : MonoBehaviour, ITooltip { public string TooltipText { get; set; } public bool showTooltipOnDrag => false; public void GetTooltip(TooltipData tooltip) { tooltip.prefix.Append(TooltipText); } }