Format
typescript
AssetObject.toString()class: AssetObject
Description
Returns the type of the asset object.
Parameters
| param_name | type | description |
|---|
Return
| type | description |
|---|---|
string | The asset type. |
Code Example
typescript
let asset = Resources.Load<AnimationClip>(AnimationClip, "D5808510E9BF4D73A6AACAFD475064C5");
asset.toString();