This package is designed to work with the SBT Unity Plugin.
It provides utilities to package Unity3D assets like the ProjectSettings from the command line. (Which is not available from the native Unity3D command line).
Simply copy the assets in your Unity3D folder
The dependency is already added by the plugin, so you have nothing to add in your project ! But make sure that the unitypackage is available to your dependency resolver:
- Make it available to your SBT dependency resolver (choose the most appropriate solution)
- Publish locally the plugin:
sbt publish-local - Publish the artifact in you preferred ivy2 or maven repository and add the corresponding resolver (see SBT Reference)
- Publish locally the plugin:
Use the Unity3D command line:
Unity3D.exe -batchMode -quit -projectPath YOUR_PROJECT_DIR -executeMethod MW.BuildPipelineTools.ExportPackageCL +sourceAsset SOURCE_DIRECTORIES [...] +output OUTPUT_FILEThe SOURCE_DIRECTORIES are a set of path to include in the packages, relative to the project directory.
eg:
- Assets/MyFolder
- ProjectSettings
- ...
Feel free to fork it and create a pull request !
MIT (see license.txt)