29 lines
554 B
C#
29 lines
554 B
C#
using UnityEngine;
|
|
using System;
|
|
|
|
namespace Fruitomation.Game.Items
|
|
{
|
|
[Serializable] public enum ItemType
|
|
{
|
|
Apple,
|
|
Grape,
|
|
Banana,
|
|
Kiwi,
|
|
Mango,
|
|
Pitaya,
|
|
Durian,
|
|
BuddhasHand
|
|
}
|
|
|
|
[Serializable] public class ItemInfo
|
|
{
|
|
public ItemType Type;
|
|
public float MinMoney;
|
|
public float MaxMoney;
|
|
}
|
|
|
|
[CreateAssetMenu] public class SerializedItemInfoRegistry : ScriptableObject
|
|
{
|
|
[SerializeField] public ItemInfo[] Registry;
|
|
}
|
|
} |