We recommend that you start developing with the Blank Starter Project or the First Person Shooter (FPS) Starter Project.
If you'd like to develop on this repository, there is a little bit of additional setup:
In addition to the dependencies listed here, you will need the following programs present on your PATH
:
- Checkout this repository.
- Run
init.sh
orinit.ps1
to download the dependencies. - Open the Unity project in
workers/unity
.
Why do I need to hit init?
As of release 0.2.5, we publish the dependencies as UPM (NPM) packages. This repository contains the source for these packages, but dependencies such as the Worker SDK and schema standard library are not committed to the repository.
init.sh
/init.ps1
downloads these dependencies and puts them in the correct place.If you fail to run
init.sh
/init.ps1
before opening Unity, Unity will delete the.meta
files associated with the files downloaded byinit.sh
/init.ps1
. If this happens to you, rungit reset --hard
to reset the repostory back to a good state. Note that this is a destructivegit
operation, so any un-committed changes will be lost.