@op6yz/unity-batchmode-runner
v0.3.0
Published
Unity batchmode runner, that wraps Unity3D batchmode CLI handling stdout and stderr
Readme
Executor to wrap Unity Batchmode
Parses logs and retrieve return code. package on npmjs
Usage
const unityRunner = new UnityRunner(..);
await unityRunner.runUnityBatchmode(..);UnityRunner module implements the executor. There are several ways to configure Unity Batchmode executable to be called:
- pass the path to the Unity editor executable
- set an environment variable UNITY_EXECUTABLE
- add
unitycommand to the current environment
