Vixen
02b45cc4
csharp
public static class AssetInstances

Reading and writing an entity's asset.

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

Methods (2)

  • public static void Attach(World world, Entity entity, AssetId asset)

    Puts an asset reference on an entity, replacing whatever was there.

  • public static bool TryGet(World world, Entity entity, out AssetId asset)

    What asset an entity stands for, if any.

Used by (4)

  • DropIntoFieldTestsVixen.Editor.App.Tests
  • DropIntoSceneTestsVixen.Editor.App.Tests
  • EditorApplicationVixen.Editor.App
  • SceneSerializerVixen.Editor.SceneView