Skip to content
timrademaker edited this page Oct 10, 2020 · 8 revisions

To set up the Unity base directory, so that Unity can be used in the other functions, use the function init and pass in the directory Unity is located in. Example: C:/Program Files/Unity Hub/2019.2f.

Execute a method from an editor script, use the execute-function. This can be used to build a project. methodToExecute follows the following convention: [Namespace.]ClassName.FunctionName, where FunctionName is a public static member function of ClassName.

To run tests using Unity's testing framework, use the runTests function.

Clone this wiki locally