Vixen
02b45cc4
csharp
public readonly record struct PrefabLink

Where one entity in a scene came from.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ The template is named by the file's id and not by a handle. A prefab is a document that may not be open, and even when it is, its entities live in a different world — so a handle would name a slot in the wrong world. EntityId is exactly the identity that survives that, which is why the scene format has one.

Fields and properties (2)

  • public AssetId Prefab

    Which prefab asset.

  • public EntityId Source

    Which entity inside it, by the id the prefab file gave that entity.

Methods (1)

  • public PrefabLink(AssetId Prefab, EntityId Source)

    Where one entity in a scene came from.

Used by (2)

  • PrefabInstanceTestsVixen.Editor.AssetEditors.Tests
  • PrefabInstancesVixen.Editor.AssetEditors