all repos — RPG @ 050a361fce88c2c846faa8a0d153163277574da6

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Scripts/Utility/Inventory/Item.cs (view raw)

 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5[System.Serializable]
 6public abstract class Item
 7{
 8    public string name;
 9    public int price;
10    public Ability effect;
11    public bool consumable;
12    public string description;
13}