File tree Expand file tree Collapse file tree 3 files changed +588
-80
lines changed Expand file tree Collapse file tree 3 files changed +588
-80
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ Find all the Unity projects recursively:
55
55
Get-UnityProjectInstance -Recurse
56
56
57
57
# Example output:
58
- # Version Path
59
- # ------- ----
60
- # 2017.2.0f3 C:\Projects\Project1\OneUnity\
61
- # 2017.3.0f3 C:\Projects\Project1\TwoUnity\
62
- # 2017.1.1p1 C:\Projects\Project2\
63
- # 2017.1.2f1 C:\Projects\Project3\App.Unity\
58
+ # Version Path ProductName
59
+ # ------- ---- -----------
60
+ # 2017.2.0f3 C:\Projects\Project1\OneUnity\ Contoso
61
+ # 2017.3.0f3 C:\Projects\Project1\TwoUnity\ Northwind
62
+ # 2017.1.1p1 C:\Projects\Project2\ My Cool App
63
+ # 2017.1.2f1 C:\Projects\Project3\App.Unity\ TemplateProject
64
64
```
65
65
Launch the right Unity editor for a project:
66
66
``` powershell
@@ -73,6 +73,10 @@ Launch many projects at the same time:
73
73
``` powershell
74
74
Get-UnityProjectInstance -Recurse | Start-UnityEditor
75
75
```
76
+ Invoke methods with arbitrary arguments:
77
+ ``` powershell
78
+ Start-UnityEditor -ExecuteMethod Build.Invoke -BatchMode -Quit -LogFile .\build.log -Wait -AdditionalArguments "-BuildArg1 -BuildArg2"
79
+ ```
76
80
Find the installers for a particular version:
77
81
``` powershell
78
82
Find-UnitySetupInstaller -Version '2017.3.0f3' | Format-Table
Original file line number Diff line number Diff line change 14
14
RootModule = ' UnitySetup'
15
15
16
16
# Version number of this module.
17
- ModuleVersion = ' 5.0 '
17
+ ModuleVersion = ' 5.1 '
18
18
19
19
# Supported PSEditions
20
20
# CompatiblePSEditions = @()
76
76
77
77
FunctionsToExport = @ (
78
78
' Find-UnitySetupInstaller' ,
79
+ ' Select-UnitySetupInstaller' ,
80
+ ' Test-UnitySetupInstance' ,
79
81
' Get-UnityProjectInstance' ,
80
82
' Get-UnitySetupInstance' ,
83
+ ' Request-UnitySetupInstaller' ,
81
84
' Install-UnitySetupInstance' ,
82
85
' Select-UnitySetupInstance' ,
83
86
' Uninstall-UnitySetupInstance' ,
You can’t perform that action at this time.
0 commit comments