The PrefabScene class in the Sandbox namespace is a specialized type of Scene designed to handle prefab resources. It provides methods for loading, serializing, and managing prefab data within a scene.
The PrefabScene class in the Sandbox namespace is a specialized type of Scene designed to handle prefab resources. It provides methods for loading, serializing, and managing prefab data within a scene.
Member Name | Summary |
---|---|
Load | Loads a prefab resource into the scene. |
ToPrefabFile | Converts the current scene to a PrefabFile. |
Destroy | Destroys the current scene, cleaning up resources. |
Serialize | Serializes the scene to a JSON object with specified options. |
Deserialize | Deserializes a JSON object into the scene with specified options. |
Variables | A list of variables and their targets for this prefab scene. |