Эх сурвалжийг харах

[unity] Moved SkeletonGraphic Inspector property "Update when Invisible" to the Advanced section for consistency.

Harald Csaszar 5 жил өмнө
parent
commit
bb34e33aee

+ 3 - 1
spine-unity/Assets/Spine/Editor/spine-unity/Editor/Components/SkeletonGraphicInspector.cs

@@ -172,6 +172,7 @@ namespace Spine.Unity.Editor {
 				meshGeneratorSettings.isExpanded = true;
 
 			using (new SpineInspectorUtility.BoxScope()) {
+
 				EditorGUILayout.PropertyField(meshGeneratorSettings, SpineInspectorUtility.TempContent("Advanced..."), includeChildren: true);
 				SkeletonRendererInspector.advancedFoldout = meshGeneratorSettings.isExpanded;
 
@@ -190,6 +191,8 @@ namespace Spine.Unity.Editor {
 						}
 						EditorGUILayout.EndHorizontal();
 
+						EditorGUILayout.PropertyField(updateWhenInvisible);
+
 						// warning box
 						if (isSeparationEnabledButNotMultipleRenderers) {
 							using (new SpineInspectorUtility.BoxScope()) {
@@ -233,7 +236,6 @@ namespace Spine.Unity.Editor {
 			EditorGUILayout.PropertyField(unscaledTime, SpineInspectorUtility.TempContent(unscaledTime.displayName, tooltip: "If checked, this will use Time.unscaledDeltaTime to make this update independent of game Time.timeScale. Instance SkeletonGraphic.timeScale will still be applied."));
 			EditorGUILayout.Space();
 			EditorGUILayout.PropertyField(freeze);
-			EditorGUILayout.PropertyField(updateWhenInvisible);
 			EditorGUILayout.Space();
 			SkeletonRendererInspector.SkeletonRootMotionParameter(targets);
 			EditorGUILayout.Space();