Foerming/Assets/Scripts/UsableItem.cs
dhain 1d80f01994 Animations
beginning of animals
2022-06-10 08:56:29 +02:00

13 lines
No EOL
409 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New UsableItem", menuName = "Inventory/UsableItem")]
public class UsableItem : Item, IUsable {
public UsableItem(string displayName, string description, int id) : base(displayName, description, id) {
}
public void Select() {
PlayerController.instance.SelectedItem = this;
}
}