From 5726df0c60a230801d699755594dd926d7f1ea0a Mon Sep 17 00:00:00 2001 From: pharan Date: Wed, 14 Dec 2016 04:12:20 +0800 Subject: [PATCH] [unity] Minor editor cleanup. --- .../SkeletonUtility/Editor/SkeletonUtilityInspector.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs b/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs index 8ad3d4b97..b20baf2ed 100644 --- a/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs +++ b/spine-unity/Assets/spine-unity/SkeletonUtility/Editor/SkeletonUtilityInspector.cs @@ -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);