The audio clip asset.
'started' event is emitted once the audio began to play.
'ended' event is emitted once the audio stopped.
Low-level platform-specific details are handled independently inside each clip.
Serializable url for native asset. For internal usage.
Whether the asset is loaded or not
Indicates whether its native object should be preloaded from native url.
Returns the url of this asset's native object, if none it will returns an empty string.
The number of reference
Set native file name for this asset.
Add references of asset
Create a new node using this asset in the scene.
If this type of asset dont have its corresponding node type, this method should be null.
Reduce references of asset and it will be auto released when refCount equals 0.
应 AssetDB 要求提供这个方法。 返回一个序列化后的对象
Returns the string representation of the object.
Asset object overrides the
toString() method of the
when an asset is to be represented as a text value or when a texture is referred to in a string concatenation.
For assets of the native type, it will return
Otherwise, an empty string is returned.
This method may be overwritten by subclasses.
应 AssetDB 要求提供这个方法。
Generated using TypeDoc