Example #1
0
 private static void LoadMap(GtaVersion version)
 {
     if (EditorUtility.DisplayDialog("Load " + version.GetFormatedGTAName() + " map", "Are you sure you want to load the entire map of " + version.GetFormatedGTAName(true) + "?", "Load", "Cancel"))
     {
         using (var loader = new Loader(version))
             loader.Load();
     }
 }
 public static string GetFormatedGTAName(this GtaVersion version, bool full)
 {
     return(version.GetFormatedGTAName(full, full));
 }
 public static string GetFormatedGTAName(this GtaVersion version)
 {
     return(version.GetFormatedGTAName(false, true));
 }