暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

PlayerLauncherBuildOptions.cs 1.1KB

123456789101112131415161718192021222324
  1. using System;
  2. using System.Text;
  3. namespace UnityEditor.TestTools.TestRunner
  4. {
  5. internal class PlayerLauncherBuildOptions
  6. {
  7. public BuildPlayerOptions BuildPlayerOptions;
  8. public string PlayerDirectory;
  9. public override string ToString()
  10. {
  11. var str = new StringBuilder();
  12. str.AppendLine("locationPathName = " + BuildPlayerOptions.locationPathName);
  13. str.AppendLine("target = " + BuildPlayerOptions.target);
  14. str.AppendLine("scenes = " + string.Join(", ", BuildPlayerOptions.scenes));
  15. str.AppendLine("assetBundleManifestPath = " + BuildPlayerOptions.assetBundleManifestPath);
  16. str.AppendLine("options.Development = " + ((BuildPlayerOptions.options & BuildOptions.Development) != 0));
  17. str.AppendLine("options.AutoRunPlayer = " + ((BuildPlayerOptions.options & BuildOptions.AutoRunPlayer) != 0));
  18. str.AppendLine("options.ForceEnableAssertions = " + ((BuildPlayerOptions.options & BuildOptions.ForceEnableAssertions) != 0));
  19. return str.ToString();
  20. }
  21. }
  22. }