projectEli/Assets/Inventory System/Scripts/UI/StorageWindowUI.cs
2023-03-15 04:43:15 -07:00

25 lines
539 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SimpleInventorySystem
{
public class StorageWindowUI : WindowUI
{
public GameObject StorageContainer;
// Start is called before the first frame update
void Start()
{
if(dragWindowUI != null)
{
dragWindowUI.title.text = ItemUI.itemName;
}
}
public void SetItem(ItemUI itemUI)
{
this.ItemUI = itemUI;
}
}
}