RemoveTooltip

Remove a tooltip attached to a piece of equipment with AttachTooltip. You don’t need to call this to replace a tooltip, simply call AttachTooltip again on the same equipment.

Function

void RemoveTooltip(equipment: string)

Parameters

  • equipment (string): the equipment name to remove a tooltip from.

Example

Removes a tooltip from what the user has touched/tapped on.

function onComponentSelectionChangedCallback(componentName)
{
    SYM3.RemoveTooltip(componentName);
}
SYM3.SetOnEquipmentSelectionChanged(onComponentSelectionChangedCallback);