Class PrefabAssetLoader
Loads and validates UTF-8 JSON .axprefab assets.
public sealed class PrefabAssetLoader : IAssetLoader<PrefabAsset>
- Inheritance
-
PrefabAssetLoader
- Implements
- Inherited Members
Methods
LoadAsync(Stream, CancellationToken)
Loads the complete stream. The caller retains ownership of the stream.
public ValueTask<PrefabAsset> LoadAsync(Stream stream, CancellationToken cancellationToken = default)
Parameters
streamStreamcancellationTokenCancellationToken