Set a single scene to active.Source:
Set a single scene to active.
unifir_scriptobject, created by make_script or returned by an
The name of the scene to set as the active scene.
The internal name to use for the C# method created. Will be randomly generated if not set.
Logical: Should the C# method be included in the set executed by MainFunc?
# First, create a script object. # CRAN doesn't have Unity installed, so pass # a waiver object to skip the Unity-lookup stage: script <- make_script("example_script", unity = waiver() ) # Now add props: script <- set_active_scene(script, scene_name = "some_scene") # Lastly, execute the script via the `action` function