| | |
| | | static string rootPath = Application.dataPath + "/Art/Maps/Scenes";
|
| | | static string assetPath = "Assets/Art/Maps/Scenes";
|
| | |
|
| | | public static void SetCreateRoleLevel(string pattern)
|
| | | {
|
| | | var root = Application.dataPath + "/Art/Maps/Scenes/Map_CreateRole";
|
| | | var from = Application.dataPath + "/Art/Maps/Scenes/Map_CreateRole/" + "CreateRole_" + pattern + ".unity";
|
| | | var to = Application.dataPath + "/Art/Maps/Scenes/" + "CreateRole_001.unity";
|
| | |
|
| | | if (File.Exists(from))
|
| | | {
|
| | | if (!File.Exists(to))
|
| | | {
|
| | | File.Delete(to);
|
| | | }
|
| | | File.Move(from, to);
|
| | | }
|
| | | }
|
| | |
|
| | | [MenuItem("程序/设置资源包名/更新Level(All) AssetBundleName")]
|
| | | public static void SetAllLevelAssetBundleName()
|
| | | {
|