Example #1
0
 /** 作成。すべて。
  *
  *      a_full_path						: フルパス。
  *
  */
 public static System.Collections.Generic.List <string> CreateAll(string a_full_path)
 {
     System.Collections.Generic.List <string> t_list = new System.Collections.Generic.List <string>();
     {
         System.Collections.Generic.List <string> t_full_path_directory_list;
         {
             string t_full_path = NormalizePath.NormalizeSeparateAndLast(a_full_path);
             t_full_path_directory_list = CreateDirectoryNameListWithFullPath.CreateAll(t_full_path);
             t_full_path_directory_list.Add(t_full_path);
         }
         {
             foreach (string t_full_path in t_full_path_directory_list)
             {
                 System.Collections.Generic.List <string> t_filename_list = CreateTopOnly(t_full_path);
                 foreach (string t_filename in t_filename_list)
                 {
                     t_list.Add(t_full_path + '\\' + t_filename);
                 }
             }
         }
     }
     return(t_list);
 }
 /** 作成。直下のみ。
  *
  *      a_assets_path					: 「Assets」からの相対パス。
  *
  */
 public static System.Collections.Generic.List <string> CreateTopOnly(string a_assets_path)
 {
     return(CreateDirectoryNameListWithFullPath.CreateTopOnly(AssetLib.GetApplicationDataPath() + '\\' + a_assets_path));
 }