Description
class AbstractAssetTask
Constructor
Parameters
|
Name |
Type |
Description |
|
name |
string |
|
Members
name : string
onSuccess : (task: any) => void
Parameters
|
Name |
Type |
Description |
|
task |
any |
|
onError : (task: any, message: string, exception: any) => void
Parameters
|
Name |
Type |
Description |
|
task |
any |
|
optional |
message |
string |
|
optional |
exception |
any |
|
isCompleted : boolean
errorObject : { message: string, exception: any }
Methods
run(scene, onSuccess, onError) → void
Parameters
|
Name |
Type |
Description |
|
scene |
Scene |
|
|
onSuccess |
|
|
|
onError |
optional |
message |
string |
|
optional |
exception |
any |
|
runTask(scene, onSuccess, onError) → void
Parameters
|
Name |
Type |
Description |
|
scene |
Scene |
|
|
onSuccess |
|
|
|
onError |
optional |
message |
string |
|
optional |
exception |
any |
|