TabDialog.UpdateTab
Declaration#
public void UpdateTab(Int32 index, Sprite icon, string text, string tooltip, GameObject controls)Parameters#
| Name | Description |
|---|---|
| index | Index of tab to update |
| icon | Icon to display |
| text | Text to display |
| tooltip | Tooltip to display |
| controls | GameObject 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); }}