Rarity

user_3183455 avatar
user_3183455
csharp
07/08/2024 7:32 AM
576 B
34
Indexable
using UnityEngine;
 
namespace CuongMono.Item
{
    [CreateAssetMenu(fileName = "Rarity",menuName ="CuongMono/Item/New Rarity")]
    public class Rarity : ScriptableObject
    {
        [Header("Rarity")]
        [SerializeField] protected string rarityName = "";
        [SerializeField] protected Color color;
 
        public string RarityName => this.rarityName;
        public Color Color => this.color;
    }
}
Editor is loading...
Leave a Comment