用于创建背包的Scriptable Object

master
SweetMe1ody 5 years ago
parent 0d19312ef4
commit b5c35fcb1b

@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Inventory", menuName = "Inventory/New Inventory")]
public class Inventory : ScriptableObject
{
public List<Item> itemList = new List<Item>();
}
Loading…
Cancel
Save