mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-11-01 05:32:29 +01:00
can interact if player has tool selected (in hand))
This commit is contained in:
11
Assets/Scripts/Inventory/ResourceItem.cs
Normal file
11
Assets/Scripts/Inventory/ResourceItem.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
[CreateAssetMenu(fileName = "FoodItem", menuName = "Items/FoodItem", order = 2)]
|
||||
public class ResourceItem : Item
|
||||
{
|
||||
public override void OnSelect()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user