打包过程出现的问题
This commit is contained in:
@@ -8,6 +8,7 @@ namespace AibisDream.Framework
|
||||
{
|
||||
public static string SaveSprite(Sprite sprite)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
if (!sprite) return "";
|
||||
|
||||
// 先读Psd的路径
|
||||
@@ -27,6 +28,10 @@ namespace AibisDream.Framework
|
||||
|
||||
// 添加后缀
|
||||
return purePath + "/" + sprite.name;
|
||||
#else
|
||||
return null;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
private static string GetResourcePath(string absolutePath)
|
||||
|
||||
Reference in New Issue
Block a user