Skip to main content

TabDialog.UpdateTab

Declaration#

public void UpdateTab(Int32 index, Sprite icon, string text, string tooltip, GameObject controls)

Parameters#

NameDescription
indexIndex of tab to update
iconIcon to display
textText to display
tooltipTooltip to display
controlsGameObject to display

Description#

Update the data for a tab

Usage#

Example
using NullSave.GDTK.UIPro;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(TabDialog target, GameObject other)    {        target.UpdateTab(0, null, "No Icon", "My Tooltip", other);    }}