19 lines
485 B
C#
19 lines
485 B
C#
using UnityEngine;
|
|
|
|
namespace UFS3
|
|
{
|
|
[CreateAssetMenu(fileName = "LineData", menuName = "Data/LineData")]
|
|
public class LineData : BaseItemData, IItemType
|
|
{
|
|
public float Strength = 5f;
|
|
|
|
public float Length = 100f;
|
|
|
|
public LineType lineType;
|
|
|
|
public ItemType ItemType => ItemType.Line;
|
|
|
|
public override string StatisticText => string.Concat(string.Concat(string.Empty + $"<b>Type:</b> {lineType}\n", $"<b>Strength:</b> {Strength}kg\n"), $"<b>Length:</b> {Length}m\n");
|
|
}
|
|
}
|