Scripting API

Scripting API

PrefabApplied

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

What applying a change of an instance to a prefab wrote; see SceneFile.ApplyTo.

public record PrefabApplied

Constructors

PrefabApplied

public PrefabApplied(AssetGuid Prefab, string File, string Before, string After, SceneDocument Instance)

What applying a change of an instance to a prefab wrote; see SceneFile.ApplyTo.

Parameters

  • Prefab: The prefab it was applied to.
  • File: Its file, on the ordinary filesystem.
  • Before: What the file held.
  • After: What it holds now, the change in it.
  • Instance: The instance as a scene's file of it alone said it before: what an undo builds it again of.

Properties

Prefab

public AssetGuid Prefab { get; init; }

The prefab it was applied to.

File

public string File { get; init; }

Its file, on the ordinary filesystem.

Before

public string Before { get; init; }

What the file held.

After

public string After { get; init; }

What it holds now, the change in it.

Instance

public SceneDocument Instance { get; init; }

The instance as a scene's file of it alone said it before: what an undo builds it again of.