Skip to content

Commit 4d1487c

Browse files
author
jossanta
committed
Adding some docs and examples
1 parent 7aaee15 commit 4d1487c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ Start-UnityEditor -Project .\MyUnityProject
6767
Start-UnityEditor -Project .\MyUnityProject -Latest
6868
Start-UnityEditor -Project .\MyUnityProject -Version '2017.3.0f3'
6969
```
70+
71+
Using the [Unity Accelerator](https://docs.unity3d.com/2019.3/Documentation/Manual/UnityAccelerator.html):
72+
```powershell
73+
Start-UnityEditor -Project .\MyUnityProject -CacheServerEndpoint 192.168.0.23
74+
Start-UnityEditor -Project .\MyUnityProject -CacheServerEndpoint 192.168.0.23:2523 -CacheServerNamespacePrefix "dev"
75+
Start-UnityEditor -Project .\MyUnityProject -CacheServerEndpoint 192.168.0.23 -CacheServerNamespacePrefix "dev" -CacheServerDisableDownload
76+
Start-UnityEditor -Project .\MyUnityProject -CacheServerEndpoint 192.168.0.23 -CacheServerDisableUpload
77+
```
7078
Launch many projects at the same time:
7179
```powershell
7280
Get-UnityProjectInstance -Recurse | Start-UnityEditor

UnitySetup/UnitySetup.psm1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,6 +1678,14 @@ function Test-UnityProjectInstanceMetaFileIntegrity {
16781678
Should the Unity Editor quit after it's done?
16791679
.PARAMETER Wait
16801680
Should the command wait for the Unity Editor to exit?
1681+
.PARAMETER CacheServerEndpoint
1682+
If included, the editor will attempt to use a Unity Accelerator hosted in the provided IP. The endpoint should be in the format of [IP]:[Port]. If the default Accelerator port is used, at the time of writing this, the port should be ommited.
1683+
.PARAMETER CacheServerNamespacePrefix
1684+
Set the namespace prefix. Used to group data together on the cache server.
1685+
.PARAMETER CacheServerDisableDownload
1686+
Disable downloading from the cache server. If ommited, the default value is true (download enabled)
1687+
.PARAMETER CacheServerDisableUpload
1688+
Disable uploading to the cache server. If ommited, the default value is true (upload enabled)
16811689
.EXAMPLE
16821690
Start-UnityEditor
16831691
.EXAMPLE

0 commit comments

Comments
 (0)