Method CreateAsset
CreateAsset(string, Action<TContainer>)
Create a new asset instance saved to disk.
Declaration
public static TContainer CreateAsset(string assetPath, Action<TContainer> mutator = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| string | assetPath | The location where to create the asset.  | 
    
| Action<TContainer> | mutator | Optional mutator that can be used to modify the asset.  | 
    
Returns
| Type | Description | 
|---|---|
| TContainer | The new asset instance.  |