24 lines
601 B
C#
24 lines
601 B
C#
using System.Collections.Generic;
|
|
using Unity.Netcode;
|
|
using UnityEngine;
|
|
|
|
namespace Reset.Items{
|
|
public abstract class Item : ScriptableObject{
|
|
public string itemName{ get; set; }
|
|
|
|
public float permanency;
|
|
public float essenceRequiredForPermanency;
|
|
|
|
private Event onDropDelegates;
|
|
|
|
public void DropItem(){
|
|
|
|
}
|
|
|
|
public virtual ItemDrop CreateItemDropFrom(){
|
|
ItemDrop newItemDrop = new GameObject().AddComponent<ItemDrop>();
|
|
newItemDrop.item = this;
|
|
return newItemDrop;
|
|
}
|
|
}
|
|
} |