all repos — RPG @ e473e7dcfb2acd82870d5f2ccbbd3d9539e07c45

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

Assets/Scripts/Utility/Inventory/Items/Key.cs (view raw)

 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5[System.Serializable]
 6public class Key : Item
 7{
 8    public Key()
 9    {
10        name = "Key";
11        price = 32;
12        effect = null;
13        consumable = false;
14        description = "This should open a door somewhere.";
15    }
16}