아이템 드랍 및 인벤토리 기능 구현

This commit is contained in:
2026-01-17 15:58:42 +09:00
parent 616120b7c5
commit 443942f6ca
21 changed files with 589 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
using UnityEngine;
using System.Collections.Generic;
public class ItemDatabase : MonoBehaviour
{
public static ItemDatabase Instance;
public List<ItemData> allItems;
void Awake() => Instance = this;
public ItemData GetItemByID(int id) => allItems.Find(x => x.itemID == id);
}