mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-25 11:11:24 +08:00
[unity] Moved SkeletonGraphic Inspector property "Update when Invisible" to the Advanced section for consistency.
This commit is contained in:
parent
978b305717
commit
bb34e33aee
@ -172,6 +172,7 @@ namespace Spine.Unity.Editor {
|
|||||||
meshGeneratorSettings.isExpanded = true;
|
meshGeneratorSettings.isExpanded = true;
|
||||||
|
|
||||||
using (new SpineInspectorUtility.BoxScope()) {
|
using (new SpineInspectorUtility.BoxScope()) {
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(meshGeneratorSettings, SpineInspectorUtility.TempContent("Advanced..."), includeChildren: true);
|
EditorGUILayout.PropertyField(meshGeneratorSettings, SpineInspectorUtility.TempContent("Advanced..."), includeChildren: true);
|
||||||
SkeletonRendererInspector.advancedFoldout = meshGeneratorSettings.isExpanded;
|
SkeletonRendererInspector.advancedFoldout = meshGeneratorSettings.isExpanded;
|
||||||
|
|
||||||
@ -190,6 +191,8 @@ namespace Spine.Unity.Editor {
|
|||||||
}
|
}
|
||||||
EditorGUILayout.EndHorizontal();
|
EditorGUILayout.EndHorizontal();
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField(updateWhenInvisible);
|
||||||
|
|
||||||
// warning box
|
// warning box
|
||||||
if (isSeparationEnabledButNotMultipleRenderers) {
|
if (isSeparationEnabledButNotMultipleRenderers) {
|
||||||
using (new SpineInspectorUtility.BoxScope()) {
|
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.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.Space();
|
||||||
EditorGUILayout.PropertyField(freeze);
|
EditorGUILayout.PropertyField(freeze);
|
||||||
EditorGUILayout.PropertyField(updateWhenInvisible);
|
|
||||||
EditorGUILayout.Space();
|
EditorGUILayout.Space();
|
||||||
SkeletonRendererInspector.SkeletonRootMotionParameter(targets);
|
SkeletonRendererInspector.SkeletonRootMotionParameter(targets);
|
||||||
EditorGUILayout.Space();
|
EditorGUILayout.Space();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user