Rarity

 avatar
user_3183455
csharp
15 days ago
430 B
1
Indexable
Never
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;
    }
}
Leave a Comment