Skip to content

Struct PrefabInstance

Namespace: Apogee.Ecs
Assembly: Apogee.Ecs.dll

Marks the root of a prefab instance: the entity returned. is a handle of the world's ; a snapshot holds the it names instead (the prefab asset type), so it means the same prefab in another run. It is never written to a scene file: until scenes save instances as overrides of their prefab, an instance is saved as plain entities.

public struct PrefabInstance

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Fields

Prefab

The prefab the instance was made from, a handle of .

public uint Prefab

Field Value

uint