using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; //[CustomEditor(typeof(SlotSpin))] //public class SlotSpinEditor : Editor //{ // public override void OnInspectorGUI() // { // DrawDefaultInspector(); // SlotSpin script = target as SlotSpin; // if (GUILayout.Button($"Spin Test - Block Type")) // { // List sprites = new List(); // foreach (BlockItem.Type enumItem in System.Enum.GetValues(typeof(BlockItem.Type))) // { // if (enumItem == BlockItem.Type.Orange) // break; // sprites.Add(SpriteManager.Instance.SpriteGet("common", $"box_{enumItem}_star".ToLower())); // } // script.OnInitialized(sprites, script.idxSlot, null); // } // } //}