Create a new Unity project.
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 optionunifir_unity_path
is set; if so, uses that path (preferring the environment variable over the option if the two disagree).
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
# \donttest{
if (interactive()) create_unity_project(file.path(tempdir(), "project"))
# }