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. |