Scripting API

Scripting API

PrefabPart

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

The mark on an entity a prefab supplied inside an instance, saying which prefab: what tells it from one the scene added there.

public struct PrefabPart

Remarks

What an editor locks and what it does not. A prefab's own entities keep the prefab's arrangement — an instance cannot lose one or move it, only change what it holds — while what a scene added inside an instance is the scene's, to move, copy or delete as anything else of it. Being under an instance's root says only that it is in one; this says whose it is.

Put on by a load as the instance's mark is, and never written down: a file says it already, by what the prefab holds. The prefab is the one whose file holds the entity — an instance's own prefab, or for what an instance inside it supplied, that one's — kept as two ulongs for the reason PrefabInstance's are.

Fields

Low

public ulong Low

Bytes 0 to 7 of the prefab's identity.

High

public ulong High

Bytes 8 to 15 of the prefab's identity.