Scripting API

Scripting API

UiTemplate

Struct in Abyss.Core.Scenes, from Abyss.Core.

The mark on the top element of a UI template placed in another document's file, saying which document it is an instance of: what has the game make that document's class for it as the document it is in is shown (GameUi).

public struct UiTemplate

Remarks

Put on where PrefabInstance is not: on the top of an instance a prefab's own file placed, which a load marks only as that prefab's part. One the scene placed itself carries the instance's mark, saying the same.

Put on by a load as the others are, and never written down; kept as two ulongs for the reason PrefabInstance's are.

Properties

Document

public readonly AssetGuid Document { get; }

Which document this element's instance is of.

Fields

Low

public ulong Low

Bytes 0 to 7 of the document's identity.

High

public ulong High

Bytes 8 to 15 of the document's identity.