Initial Commit
This commit is contained in:
commit
ee5c2f922d
2255 changed files with 547750 additions and 0 deletions
13
Assets/Scripts/Prefabs/Items/HealthKitItem.cs
Normal file
13
Assets/Scripts/Prefabs/Items/HealthKitItem.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace Items
|
||||
{
|
||||
[CreateAssetMenu(menuName = "Items/Health Kit")]
|
||||
public class HealthKitItem : UsableItemPrefab, IHealItem
|
||||
{
|
||||
public float Health;
|
||||
public Sprite UseItemIcon;
|
||||
|
||||
float IHealItem.Health => Health;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue