Class TextDataProvider
Provides raw text from a local or remote URL.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Assembly: Unity.ResourceManager.dll
Syntax
public class TextDataProvider : ResourceProviderBase, IResourceProvider, IInitializableObject
Properties
| Name | Description |
|---|---|
| IgnoreFailures | Controls whether errors are logged - this is disabled when trying to load from the local cache since failures are expected |
Methods
| Name | Description |
|---|---|
| Convert(Type, string) | Method to convert the text into the object type requested. Usually the text contains a JSON formatted serialized object. |
| Provide(ProvideHandle) | Provides raw text data from the location. |