Add Inventory system with Inventory, InventorySlot, and StatModifierItem classes; update character attributes to include level and experience
This commit is contained in:
13
Assets/Scripts/Inventory/InventorySlot.cs
Normal file
13
Assets/Scripts/Inventory/InventorySlot.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using Sirenix.Serialization;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Inventory
|
||||
{
|
||||
[Serializable]
|
||||
public class InventorySlot
|
||||
{
|
||||
[OdinSerialize] public ScriptableObject item;
|
||||
[OdinSerialize] public int quantity;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user