Firstborn/Assets/RPG Creation Kit/Scripts/Looting System/LootingInventoryTab.cs

20 lines
413 B
C#
Raw Normal View History

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