Example #1
0
 static void PrintSceneList()
 {
     try
     {
         var           sceneNames = CoreUtils.GetSceneList();
         StringBuilder sb         = new StringBuilder(sceneNames.Length * 16);
         foreach (var s in sceneNames)
         {
             sb.AppendLine(Path.GetFileNameWithoutExtension(s));
         }
         ConsoleModule.WriteLine(sb.ToString());
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
 }