Skip to content

Commit 0f649e2

Browse files
committed
Adds a validated set for unity build targets when starting editor
1 parent c574015 commit 0f649e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ function Start-UnityEditor
620620
[parameter(Mandatory=$false)]
621621
[string]$LogFile,
622622
[parameter(Mandatory=$false)]
623+
[ValidateSet('StandaloneOSX','StandaloneWindows','iOS','Android','StandaloneLinux','StandaloneWindows64','WebGL','WSAPlayer','StandaloneLinux64','StandaloneLinuxUniversal','Tizen','PSP2','PS4','XBoxOne','N3DS','WiiU','tvOS','Switch')]
623624
[string]$BuildTarget,
624625
[parameter(Mandatory=$false)]
625626
[switch]$BatchMode,

0 commit comments

Comments
 (0)