27 lines
568 B
C#
27 lines
568 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace SimpleInventorySystem
|
|
{
|
|
[RequireComponent(typeof(SlotUI))]
|
|
public class LinkedSlotUI : MonoBehaviour
|
|
{
|
|
public SlotUI linkedSlot;
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
if(linkedSlot != null)
|
|
{
|
|
//linkedSlot.LinkedSlots.Add(GetComponent<SlotUI>());
|
|
}
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|
|
} |