From 54fad068f41ba7b0d2f16699a3f774be2a0d84e9 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 14 二月 2019 12:02:50 +0800
Subject: [PATCH] 3335 配置表读取重构。
---
Assets/Editor/Tool/BuiltInResourceSetting.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Assets/Editor/Tool/BuiltInResourceSetting.cs b/Assets/Editor/Tool/BuiltInResourceSetting.cs
index 06cbf01..1191f5b 100644
--- a/Assets/Editor/Tool/BuiltInResourceSetting.cs
+++ b/Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -14,7 +14,7 @@
{
var fileName = fileNames[i];
var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/" + fileName;
- var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/" + fileName;
+ var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/" + fileName;
AssetDatabase.DeleteAsset(toPath);
if (AssetDatabase.LoadAssetAtPath<Texture>(fromPath) == null)
@@ -64,7 +64,7 @@
public static void SetLoginBackGround(string publisher, BuildTarget buildTarget)
{
var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png";
- var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";
+ var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/LoginBackGround.png";
AssetDatabase.DeleteAsset(toPath);
if (!File.Exists(Application.dataPath + "/Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png"))
{
@@ -72,7 +72,7 @@
}
AssetDatabase.CopyAsset(fromPath, toPath);
- var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png";
+ var importerPath = "Assets/ResourcesOut/BuiltIn/Sprites/LoginBackGround.png";
var importer = AssetImporter.GetAtPath(importerPath);
var textureImporter = importer as TextureImporter;
if (textureImporter != null)
@@ -111,11 +111,11 @@
public static void SetLoginLogo(string publisher, BuildTarget buildTarget)
{
var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/TB_DL_Logo.png";
- var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/TB_DL_Logo.png";
+ var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png";
AssetDatabase.DeleteAsset(toPath);
AssetDatabase.CopyAsset(fromPath, toPath);
- var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/TB_DL_Logo.png";
+ var importerPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png";
var importer = AssetImporter.GetAtPath(importerPath);
var textureImporter = importer as TextureImporter;
if (textureImporter != null)
--
Gitblit v1.8.0