mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Fixed compile error of preceding commit 9507491 on old Unity versions. See #2940.
This commit is contained in:
parent
9507491927
commit
26efd7e01d
@ -399,7 +399,7 @@ namespace Spine.Unity.Editor {
|
|||||||
List<AtlasAssetBase> newAtlases = new List<AtlasAssetBase>();
|
List<AtlasAssetBase> newAtlases = new List<AtlasAssetBase>();
|
||||||
foreach (string atlasPath in atlasPaths) {
|
foreach (string atlasPath in atlasPaths) {
|
||||||
#if PROBLEMATIC_PACKAGE_ASSET_MODIFICATION
|
#if PROBLEMATIC_PACKAGE_ASSET_MODIFICATION
|
||||||
if (ap.StartsWith("Packages"))
|
if (atlasPath.StartsWith("Packages"))
|
||||||
continue;
|
continue;
|
||||||
#endif
|
#endif
|
||||||
TextAsset atlasText = AssetDatabase.LoadAssetAtPath<TextAsset>(atlasPath);
|
TextAsset atlasText = AssetDatabase.LoadAssetAtPath<TextAsset>(atlasPath);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user