API ReferenceSandbox
PrefabSceneclass
Methods5
Showing 5 methods
public virtual void Deserialize(System.Text.Json.Nodes.JsonObject node, Sandbox.GameObject.DeserializeOptions options)
| Parameter | Type | Description |
|---|---|---|
| node | JsonObject | — |
| options | DeserializeOptions | — |
Returns:
void—public static override void JsonWrite(object value, System.Text.Json.Utf8JsonWriter writer)
| Parameter | Type | Description |
|---|---|---|
| value | object | — |
| writer | Utf8JsonWriter | — |
Returns:
void—public virtual bool Load(Sandbox.GameResource resource)
| Parameter | Type | Description |
|---|---|---|
| resource | GameResource | — |
Returns:
bool—public virtual System.Text.Json.Nodes.JsonObject Serialize(Sandbox.GameObject.SerializeOptions options = null)
| Parameter | Type | Description |
|---|---|---|
| options = null | SerializeOptions | — |
Returns:
JsonObject—public Sandbox.PrefabFile ToPrefabFile()
No results match this filter.
Properties1
Showing 1 properties
public Sandbox.PrefabScene.VariableCollection Sandbox.PrefabScene.Variables { get; set; }
A list of variables and their targets for this prefab scene
Obsolete: This API member is obsolete.
No results match this filter.