mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
[unity] Fixed SkeletonGraphic detect settings button not working with multi-select. Closes #2951.
This commit is contained in:
parent
3ef84af5dd
commit
2bbec26160
@ -195,7 +195,7 @@ namespace Spine.Unity.Editor {
|
|||||||
GUILayout.FlexibleSpace();
|
GUILayout.FlexibleSpace();
|
||||||
if (GUILayout.Button("Detect Settings", EditorStyles.miniButton, GUILayout.Width(100f))) {
|
if (GUILayout.Button("Detect Settings", EditorStyles.miniButton, GUILayout.Width(100f))) {
|
||||||
Undo.RecordObjects(targets, "Detect Settings");
|
Undo.RecordObjects(targets, "Detect Settings");
|
||||||
foreach (UnityEngine.Object targets in targets) {
|
foreach (UnityEngine.Object target in targets) {
|
||||||
SkeletonGraphic skeletonGraphic = target as SkeletonGraphic;
|
SkeletonGraphic skeletonGraphic = target as SkeletonGraphic;
|
||||||
if (skeletonGraphic == null) continue;
|
if (skeletonGraphic == null) continue;
|
||||||
DetectTintBlack(skeletonGraphic);
|
DetectTintBlack(skeletonGraphic);
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-unity",
|
"name": "com.esotericsoftware.spine.spine-unity",
|
||||||
"displayName": "spine-unity Runtime",
|
"displayName": "spine-unity Runtime",
|
||||||
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
|
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
|
||||||
"version": "4.3.21",
|
"version": "4.3.22",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user