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);
    }