Delegate AssetDecoder
Type used in RegisterTypeHandler(AssetHandler).
Namespace: Fusee.Base.Common
Assembly: Fusee.Base.Common.dll
Syntax
public delegate object AssetDecoder(string id, object storage);
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | id | The identifier.  | 
      
| System.Object | storage | An opaque object containing the data. The actual type of the storage depends on the AssetProvider. Many providers use a stream.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Object | The asset cast to System.Object  |