Method CreateAssetReference
CreateAssetReference(string)
Create an AssetReference object. If the asset is not already addressable, it will be added.
Declaration
public AssetReference CreateAssetReference(string guid)
Parameters
| Type | Name | Description | 
|---|---|---|
| string | guid | The guid of the asset reference.  | 
    
Returns
| Type | Description | 
|---|---|
| AssetReference | Returns the newly created AssetReference.  |