Scene Setup
Last updated
In your scene that will act as an overlay, create an empty GameObject such as:
Runtime Studio
Add this component to the host object:
RuntimeStudioEditor
Assign the Player Editable Scene on RuntimeStudioEditor
Point it to the gameplay scene that should be edited at runtime
You can assign a camera to the Runtime Studio host.
If no camera is assigned, Runtime Studio will use:
the isolated edit camera, or
Camera.main
Assign a RuntimeStudioSettings asset directly in the RuntimeStudioEditor.
Any GameObjects that exist in the Player Editable Scene and should be editable by players must have their meshes and materials registered in the Runtime Studio Library.
When placing custom objects in the editable scene, remember to add:
Their Mesh assets
Their Material assets
to the Runtime Studio Library. Otherwise, Runtime Studio may not be able to correctly restore those objects at runtime.
Last updated