View source: R/create_project.R
| create_unity_project | R Documentation |
Create a new Unity project.
create_unity_project(path, quit = TRUE, unity = NULL)
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 |
TRUE, invisibly.
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()
if (interactive()) create_unity_project(file.path(tempdir(), "project"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.