| | |
| | | public static void SetLaunchBackGround(string publisher, BuildTarget buildTarget) |
| | | { |
| | | var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/Launch.png"; |
| | | var toPath = "Assets/Resources/UI/Sprites/Launch.png"; |
| | | var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/Launch.png"; |
| | | AssetDatabase.DeleteAsset(toPath); |
| | | AssetDatabase.CopyAsset(fromPath, toPath); |
| | | |
| | | var importerPath = "Assets/Resources/UI/Sprites/Launch.png"; |
| | | var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/Launch.png"; |
| | | var importer = AssetImporter.GetAtPath(importerPath); |
| | | var textureImporter = importer as TextureImporter; |
| | | if (textureImporter != null) |
| | |
| | | public static void SetLoginBackGround(string publisher, BuildTarget buildTarget) |
| | | { |
| | | var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/LoginBackGround.png"; |
| | | var toPath = "Assets/Resources/UI/Sprites/LoginBackGround.png"; |
| | | var toPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png"; |
| | | AssetDatabase.DeleteAsset(toPath); |
| | | AssetDatabase.CopyAsset(fromPath, toPath); |
| | | |
| | | var importerPath = "Assets/Resources/UI/Sprites/LoginBackGround.png"; |
| | | var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/LoginBackGround.png"; |
| | | var importer = AssetImporter.GetAtPath(importerPath); |
| | | var textureImporter = importer as TextureImporter; |
| | | if (textureImporter != null) |
| | |
| | | AssetDatabase.DeleteAsset(toPath); |
| | | AssetDatabase.CopyAsset(fromPath, toPath); |
| | | |
| | | var importerPath = "Assets/Resources/UI/Sprites/TB_DL_Logo.png"; |
| | | var importerPath = "Assets/ResourcesOut/BuiltIn/UI/Sprites/TB_DL_Logo.png"; |
| | | var importer = AssetImporter.GetAtPath(importerPath); |
| | | var textureImporter = importer as TextureImporter; |
| | | if (textureImporter != null) |