Skip to contents

Create a new Unity project.

Usage

create_unity_project(path, quit = TRUE, unity = NULL)

Arguments

path

The path to create a new Unity project at.

quit

Logical: quit Unity after creating the project?

unity

The path to the Unity executable on your system (importantly, not the UnityHub executable). If NULL, checks to see if the environment variable or option unifir_unity_path is set; if so, uses that path (preferring the environment variable over the option if the two disagree).

Value

TRUE, invisibly.

Examples

# \donttest{

if (interactive()) create_unity_project(file.path(tempdir(), "project"))
# }