Skip to content

Commit 1bbd905

Browse files
committed
Added CreateProject support
1 parent 12b58d1 commit 1bbd905

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@ function Start-UnityEditor
556556
[parameter(Mandatory=$false)]
557557
[string[]]$ExportPackage,
558558
[parameter(Mandatory=$false)]
559+
[string]$CreateProject,
560+
[parameter(Mandatory=$false)]
559561
[string]$OutputPath,
560562
[parameter(Mandatory=$false)]
561563
[string]$LogFile,
@@ -642,6 +644,7 @@ function Start-UnityEditor
642644
}
643645

644646
$sharedArgs = @()
647+
if( $CreateProject ) { $sharedArgs += "-createProject", $CreateProject }
645648
if( $ExecuteMethod ) { $sharedArgs += "-executeMethod", $ExecuteMethod }
646649
if( $OutputPath ) { $sharedArgs += "-buildOutput", $OutputPath }
647650
if( $LogFile ) { $sharedArgs += "-logFile", $LogFile }

0 commit comments

Comments
 (0)