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));
 }
    private static void ResourcesOfTPAtlas()
    {
        ResBase.Suffixs.Clear();
        ResBase.Suffixs.Add(".png");
        ResBase.Suffixs.Add(".jpg");
        ResBase.Suffixs.Add(".PNG");
        ResBase.Suffixs.Add(".JPG");
        ResBase.RootPath = PathSystem.GetSrcSpriteRoot(PathType.absPath);
        ResourceMap2File.Add2AllResources(ResBase.GetNamesOfFolder(true, true));
        ResBase.Suffixs.Clear();
        ResBase.Suffixs.Add(".png");
        ResBase.Suffixs.Add(".jpg");
        ResBase.Suffixs.Add(".PNG");
        ResBase.Suffixs.Add(".JPG");
        ResBase.RootPath = PathSystem.GetSrcSpriteRGBRoot(PathType.absPath);
        ResourceMap2File.Add2AllResources(ResBase.GetNamesOfFolder(true, true));
        ResBase.Suffixs.Clear();
        ResBase.Suffixs.Add(".prefab");
        ResBase.RootPath = PathSystem.GetTPAtlasRoot(PathType.absPath);
        Hashtable namesOfPath = ResBase.GetNamesOfPath(true, "*", true, string.Empty);

        ResourceMap2File.Add2AllResources(namesOfPath);
        string      text       = string.Empty;
        IEnumerator enumerator = namesOfPath.get_Keys().GetEnumerator();

        try
        {
            while (enumerator.MoveNext())
            {
                object current = enumerator.get_Current();
                string text2   = current.ToString();
                text2 = text2.Substring(0, text2.get_Length() - "_pb".get_Length());
                text  = text + text2 + ';';
            }
        }
        finally
        {
            IDisposable disposable = enumerator as IDisposable;
            if (disposable != null)
            {
                disposable.Dispose();
            }
        }
        ResourceMap2File.AllResources.set_Item("UiAtlas_KEY", text);
        ResBase.Suffixs.Clear();
        ResBase.Suffixs.Add(".prefab");
        ResBase.RootPath = PathSystem.GetReservedPrefabRoot(PathType.absPath);
        namesOfPath      = ResBase.GetNamesOfPath(true, "*", true, string.Empty);
        ResourceMap2File.Add2AllResources(namesOfPath);
    }
 private static void ResourcesOfTexture()
 {
     ResBase.Suffixs.Clear();
     ResBase.Suffixs.Add(".png");
     ResBase.Suffixs.Add(".jpg");
     ResBase.Suffixs.Add(".tga");
     ResBase.Suffixs.Add(".psd");
     ResBase.RootPath = PathSystem.GetTextureRGBARoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(true, "*", false, string.Empty));
     ResBase.RootPath = PathSystem.GetTextureRGBRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(true, "*", false, string.Empty));
     ResBase.RootPath = PathSystem.GetTextureShaderRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(true, "*", false, string.Empty));
     ResBase.RootPath = PathSystem.GetReservedPrefabRoot(PathType.absPath);
     ResourceMap2File.Add2AllResources(ResBase.GetNamesOfPath(true, "*", false, string.Empty));
 }