csharp
public static class AssetMetaFileReading and writing .meta sidecars.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Migration happens on the node tree between parsing and binding, which is the only place it can: a document old enough to need migrating does not fit the current type, so there is nothing to bind it to yet.
Fields and properties (1)
public const string ExtensionThe extension a sidecar has.
Methods (5)
public static AssetMeta Read(string text, MetaMigrationChain? chain = null, Action<string>? onUnknownKey = null)Reads a sidecar.
public static string Write(AssetMeta meta)Writes a sidecar.
public static AssetMeta ReadFile(string path, MetaMigrationChain? chain = null, Action<string>? onUnknownKey = null)Reads a sidecar from disk.
public static void WriteFile(string path, AssetMeta meta)Writes a sidecar to disk.
public static string PathFor(string assetPath)Where an asset's sidecar lives.
Used by (13)
- MetaTestsVixen.Core.Yaml.Tests
- AnimationBinderVixen.Editor.AssetEditors
- AssetDatabaseVixen.Editor.Core
- AssetOperationsVixen.Editor.Core
- ContentPipelineVixen.Editor.Assets
- DoctorRunnerVixen.Cli
- EditorApplicationVixen.Editor.App
- ImportPipelineVixen.Editor.Assets
- ImportSettingsDocumentVixen.Editor.AssetEditors
- ProjectAssetVixen.Editor.App
- ReferenceIndexVixen.Editor.Core
- SceneManifestTestsVixen.Editor.Assets.Tests
- VixenCommandTestsVixen.Cli.Tests