| | |
| | | var fromPath = "Assets/Editor/Logo/" + GetVersionName(publisher) + "/TB_DL_Logo.png"; |
| | | var toPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png"; |
| | | AssetDatabase.DeleteAsset(toPath); |
| | | AssetDatabase.CopyAsset(fromPath, toPath); |
| | | var root = Application.dataPath.Substring(0, Application.dataPath.Length - 6) + "/"; |
| | | File.Copy(root + fromPath, root + toPath); |
| | | |
| | | AssetDatabase.SaveAssets(); |
| | | AssetDatabase.Refresh(); |
| | | |
| | | var importerPath = "Assets/ResourcesOut/BuiltIn/Sprites/TB_DL_Logo.png"; |
| | | var importer = AssetImporter.GetAtPath(importerPath); |