shuriken can now be thrown jumping animtions jumping animations timing state machine changes start of online integration
27 lines
690 B
C#
27 lines
690 B
C#
using System.Collections.Generic;
|
|
using Sirenix.OdinInspector;
|
|
using Unity.Netcode;
|
|
using UnityEngine;
|
|
|
|
namespace Reset.Items{
|
|
public abstract class Item : SerializedScriptableObject{
|
|
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);
|
|
}
|
|
} |