Class BinaryDataProvider
Provides raw text from a local or remote URL.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Assembly: Unity.ResourceManager.dll
Syntax
public class BinaryDataProvider : ResourceProviderBase, IResourceProvider, IInitializableObject
Fields
| Name | Description |
|---|---|
| kBinaryAssetProviderBaseId | Base namespace-qualified name for BinaryAssetProvider. Combine with a serialization adapter's type name to form a unique ProviderId per adapter. |
Properties
| Name | Description |
|---|---|
| IgnoreFailures | Controls whether errors are logged. Disabled when loading from the local cache since failures are expected in that context. |
Methods
| Name | Description |
|---|---|
| Convert(Type, byte[]) | Method to convert the text into the object type requested. Usually the text contains a JSON formatted serialized object. |
| Provide(ProvideHandle) | Provides raw binary data from the location. |