Add Inventory system with Inventory, InventorySlot, and StatModifierItem classes; update character attributes to include level and experience
This commit is contained in:
14
Assets/Scripts/Inventory/WeaponItem.cs
Normal file
14
Assets/Scripts/Inventory/WeaponItem.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Sirenix.Serialization;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Inventory
|
||||
{
|
||||
[CreateAssetMenu(menuName = "Game/Item/WeaponItem")]
|
||||
public class WeaponItem : ScriptableObject
|
||||
{
|
||||
[OdinSerialize] public string weaponName;
|
||||
[OdinSerialize, TextArea] public string description;
|
||||
[OdinSerialize] public GameObject prefab;
|
||||
[OdinSerialize] public Sprite icon;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user