Esempio n. 1
0
 private static void ResourcesOfUI()
 {
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(FileSystem.key_suffix_prefab);
     ResBase.RootPath = PathSystem.GetReservedPrefabRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(false, "*", false, string.Empty));
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(FileSystem.key_suffix_prefab);
     ResBase.RootPath = PathSystem.GetUIPrefabRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(false, "*", false, string.Empty));
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(FileSystem.key_suffix_prefab);
     ResBase.RootPath = PathSystem.GetUI3DPrefabRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(false, "*", false, string.Empty));
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(FileSystem.key_suffix_prefab);
     ResBase.RootPath = PathSystem.GetReservedPrefabRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(false, "*", false, string.Empty));
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(FileSystem.key_suffix_material);
     ResBase.RootPath = PathSystem.GetUI3DPrefabRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(true, "*", false, string.Empty));
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(FileSystem.key_suffix_controller);
     ResBase.RootPath = PathSystem.GetUIAnimRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(false, "*", false, string.Empty));
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(FileSystem.key_suffix_prefab);
     ResBase.RootPath = PathSystem.GetSpineRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(true, "*", false, FileSystem.key_suffix_spine));
 }