26 lines
651 B
C#
26 lines
651 B
C#
using System.Collections.Generic;
|
|
using Unity.Netcode;
|
|
using UnityEngine;
|
|
|
|
namespace Reset.Items{
|
|
public abstract class Item : ScriptableObject{
|
|
public string itemName;
|
|
|
|
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;
|
|
}
|
|
|
|
public abstract void DrawItemInfo(Vector3 position);
|
|
}
|
|
} |