create_unity_project {unifir}R Documentation

Create a new Unity project.

Description

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.

See Also

Other utilities: add_default_player(), add_prop(), find_unity(), get_asset(), load_png(), load_scene(), new_scene(), read_raw(), save_scene(), set_active_scene(), validate_path(), waiver()

Examples



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



[Package unifir version 0.2.4 Index]