Scripting API

Scripting API

SceneReference

Record in Abyss.Core.Scenes, from Abyss.Core.

The file a field names: what kind of asset it is, where it was, and who it is.

public record SceneReference

Constructors

SceneReference

public SceneReference(FieldAsset Kind, string? Path, AssetGuid Guid)

The file a field names: what kind of asset it is, where it was, and who it is.

Parameters

  • Kind: What it names: a prefab, which is a model's too, or a sound clip.
  • Path: Where it was when it was written, the fallback; null where nothing said.
  • Guid: Its identity, which is what is looked for first.

Properties

Kind

public FieldAsset Kind { get; init; }

What it names: a prefab, which is a model's too, or a sound clip.

Path

public string? Path { get; init; }

Where it was when it was written, the fallback; null where nothing said.

Guid

public AssetGuid Guid { get; init; }

Its identity, which is what is looked for first.