using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "MiniGame/GearModel")] public class GearModel : ScriptableObject { public float radius; public int id; public string spriteName; /// /// ¶ÁÈ¡³ÝÂÖͼƬ /// /// ³ÝÂÖSprite public Sprite getSprite() { return Resources.Load(spriteName); } }