Skip to content

Format

typescript
Resources.LoadAsync(id, callback)

class: Resources

Description

Asynchronously loads the specified resource by id.

Parameters

param_nametypedescription
idstringThe id of the resource.
callbackIOnResourceLoaded?The callback function.

Return

typedescription
booleanWhether the asynchronous loading was successful.

Code Example