mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +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();
|
||||
if (GUILayout.Button("Detect Settings", EditorStyles.miniButton, GUILayout.Width(100f))) {
|
||||
Undo.RecordObjects(targets, "Detect Settings");
|
||||
foreach (UnityEngine.Object targets in targets) {
|
||||
foreach (UnityEngine.Object target in targets) {
|
||||
SkeletonGraphic skeletonGraphic = target as SkeletonGraphic;
|
||||
if (skeletonGraphic == null) continue;
|
||||
DetectTintBlack(skeletonGraphic);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-unity",
|
||||
"displayName": "spine-unity Runtime",
|
||||
"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",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user