浏览代码

Update Phase3.md

/main
mohsen.k 4 年前
当前提交
470d3b33
共有 1 个文件被更改,包括 19 次插入8 次删除
  1. 27
      Tutorial/Phase3.md

27
Tutorial/Phase3.md


* **Action**: Open a command-line interface (Terminal on Mac OS, cmd on Windows, etc.) and navigate to the extracted folder.
If you downloaded the zip archive in the default location in your downloads folder, you can use these commands to navigate to it from the command-line:
MacOS:
`cd ~/Downloads/unity_simulation_bundle`
Windows:

This will ask for your MacOS account's password, and should help overcome the persmission issues.
**Note : From this point on we will only include MacOS formatted commands in the tutorial, but all the USim commands we use will work in all operating systems.**
Windows:
`USimCLI\windows\usim get projects`
<!--Windows:
`USimCLI\windows\usim get projects`-->
* **Action**
* **Action**: Activate the relevant project:
Windows:
`USimCLI\windows\usim get projects <project-id>`
<!--Windows:
`USimCLI\windows\usim get projects <project-id>` -->
When asked if you are sure you want to change the active project, enter "y".

* **Action**: Use the `usim get runs` command to obtain a list of current and past runs:
MacOS:
`USimCLI/mac/usim get runs`
Windows:
`USimCLI\windows\usim get runs`
<!--Windows:
`USimCLI\windows\usim get runs`-->
An example output with 3 runs would look like this:

As seen above, each run has a name, an ID, a creation time, and a list of executions. Note that each "run" can have more than one "execution", as you can manually execute runs again using USimCLI. For now though, we will not concern ourselves with that.
No
You can also obtain a list of all the builds you have uploaded to USim using the `usim get builds` command.
You may notice that the IDs seen above for the run named `FirstRun` match those we saw earlier in Unity Editor's _**Console**_. You can see here that the single execution for our recently uploaded build is `In_Progress` and that the execution ID is `yegz4WN`.
USim runs execution on simulation nodes. If you enter a number larger than 1 for the number of instances in the _**Run in USim**_ window, your run will execute simultaneously on more than one simulation node. You can view the status of each execution node using the `usim summarize run-execution <execution-id>` command. This command will tell you how many nodes have succeeded, failed, have not run yet, or are in progress. Make sure to replace `<execution-id>` with the execution ID seen in your run list. In the above example, this ID would be `yegz4WN`.
* **Action**: Use the `usim summarize run-execution <execution-id>` command to observe the status of your execution nodes:
MacOS:
`USimCLI/mac/usim get runs`
<!--Windows:
`USimCLI\windows\usim get runs`-->
正在加载...
取消
保存