mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[unity] Minor editor cleanup.
This commit is contained in:
parent
a6d9915c95
commit
5726df0c60
@ -55,7 +55,6 @@ namespace Spine.Unity.Editor {
|
||||
GUIContent SpawnHierarchyButtonLabel = new GUIContent("Spawn Hierarchy", Icons.skeleton);
|
||||
GUIContent SlotsRootLabel = new GUIContent("Slots", Icons.slotRoot);
|
||||
static AnimBool showSlots = new AnimBool(false);
|
||||
static bool showPaths = true;
|
||||
static bool debugSkeleton = false;
|
||||
|
||||
void OnEnable () {
|
||||
@ -102,10 +101,6 @@ namespace Spine.Unity.Editor {
|
||||
debugSkeleton = EditorGUILayout.Foldout(debugSkeleton, "Debug Skeleton");
|
||||
|
||||
if (debugSkeleton) {
|
||||
EditorGUI.BeginChangeCheck();
|
||||
showPaths = EditorGUILayout.Toggle("Show Paths", showPaths);
|
||||
requireRepaint |= EditorGUI.EndChangeCheck();
|
||||
|
||||
EditorGUI.BeginChangeCheck();
|
||||
skeleton.FlipX = EditorGUILayout.ToggleLeft("skeleton.FlipX", skeleton.FlipX);
|
||||
skeleton.FlipY = EditorGUILayout.ToggleLeft("skeleton.FlipY", skeleton.FlipY);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user