You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.1 KiB
23 lines
1.1 KiB
using System.Text; |
|
|
|
namespace UnityEditor.TestTools.TestRunner |
|
{ |
|
internal class PlayerLauncherBuildOptions |
|
{ |
|
public BuildPlayerOptions BuildPlayerOptions; |
|
public string PlayerDirectory; |
|
|
|
public override string ToString() |
|
{ |
|
var str = new StringBuilder(); |
|
str.AppendLine("locationPathName = " + BuildPlayerOptions.locationPathName); |
|
str.AppendLine("target = " + BuildPlayerOptions.target); |
|
str.AppendLine("scenes = " + string.Join(", ", BuildPlayerOptions.scenes)); |
|
str.AppendLine("assetBundleManifestPath = " + BuildPlayerOptions.assetBundleManifestPath); |
|
str.AppendLine("options.Development = " + ((BuildPlayerOptions.options & BuildOptions.Development) != 0)); |
|
str.AppendLine("options.AutoRunPlayer = " + ((BuildPlayerOptions.options & BuildOptions.AutoRunPlayer) != 0)); |
|
str.AppendLine("options.ForceEnableAssertions = " + ((BuildPlayerOptions.options & BuildOptions.ForceEnableAssertions) != 0)); |
|
return str.ToString(); |
|
} |
|
} |
|
}
|
|
|