Firstborn/Assets/RPG Creation Kit/Scripts/Trade System/TradeSystemInventoryTab.cs

19 lines
411 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using RPGCreationKit;
namespace RPGCreationKit
{
public class TradeSystemInventoryTab : MonoBehaviour
{
public InventoryTabs thisTab;
public void OnValueChanges(Toggle t)
{
if (t.isOn)
TradeSystemUI.instance.ChangeTab(thisTab);
}
}
}