mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-16 03:51:37 +08:00
[unity] Added sprite slices button feedback.
This commit is contained in:
parent
c1535080c8
commit
7b03506b24
@ -140,6 +140,7 @@ namespace Spine.Unity.Editor {
|
||||
t.spritesheet = sprites.ToArray();
|
||||
EditorUtility.SetDirty(t);
|
||||
AssetDatabase.ImportAsset(texturePath, ImportAssetOptions.ForceUpdate);
|
||||
EditorGUIUtility.PingObject(texture);
|
||||
Debug.Log(string.Format("Applied sprite slices to {2}. {0} added. {1} updated.", addedCount, updatedCount, texture.name));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user