Table of Contents

Class SerializationScope

Namespace
nadena.dev.ndmf

This helper invokes Unity's StartAssetEditing API, and will StopAssetEditing on disposal.

It also provides an API to serialize an asset to an asset container; NDMF internally maintains multiple asset container files to balance between the overhead of creating a new asset container and the overhead of adding new assets to existing containers.

public sealed class SerializationScope : IDisposable
Inheritance
SerializationScope
Implements
Inherited Members

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

SaveAsset(Object)

public void SaveAsset(UnityEngine.Object asset)

Parameters

asset Object