25 lines
539 B
C#
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;
|
|
}
|
|
}
|
|
} |