public override void OnInspectorGUI() { DrawDefaultInspector(); PhaseTurnCtl d = (PhaseTurnCtl)target; phase_num = EditorGUILayout.IntSlider("sider-phase", phase_num, 0, 3); in_out = EditorGUILayout.IntSlider("Type", in_out, 0, 1); if (GUILayout.Button("Test Move Phase")) { d.PlayAnim(phase_num, in_out); } }