Scripting API
Scripting API
BuildScene
Record in Abyss.Core, from Abyss.Core.
A scene in a build: the file, by its path under the assets and its identity, and whether it goes in.
public record BuildSceneConstructors
BuildScene
public BuildScene(string Path, AssetGuid Guid, bool Enabled = true)A scene in a build: the file, by its path under the assets and its identity, and whether it goes in.
Parameters
Path: The scene, as its path under the assets:scenes/orbit.scene.Guid: Its identity, which finds it where it has been moved;AssetGuid.Nonefor none.Enabled: Whether it is in the build; one unticked stays in the list and out of the game.
Properties
Path
public string Path { get; init; }The scene, as its path under the assets: scenes/orbit.scene.
Guid
public AssetGuid Guid { get; init; }Its identity, which finds it where it has been moved; AssetGuid.None for none.
Enabled
public bool Enabled { get; init; }Whether it is in the build; one unticked stays in the list and out of the game.
Key
public SceneAddress Key { get; }The scene's key, which finds it by its identity wherever it is now, then by its path: what the player opens first.
