19 lines
510 B
C#
19 lines
510 B
C#
using UnityEngine;
|
|
|
|
namespace UFS3
|
|
{
|
|
[CreateAssetMenu(fileName = "HookData", menuName = "Data/HookData")]
|
|
public class HookData : BaseItemData, IItemType
|
|
{
|
|
public HookType hookType;
|
|
|
|
public float size;
|
|
|
|
public float hookSize;
|
|
|
|
public ItemType ItemType => ItemType.Hook;
|
|
|
|
public override string StatisticText => string.Concat(string.Concat(string.Empty + "<b>Type:</b> " + hookType.ToString() + "\n", "<b>Size:</b> #", hookSize.ToString(), "\n"), "<b>Weight:</b> ", weight.ToString(), "g\n");
|
|
}
|
|
}
|