Description
class TextFileAssetTask extends AbstractAssetTask
Constructor
Parameters
|
Name |
Type |
Description |
|
name |
string |
|
|
url |
string |
|
Members
name : string
url : string
text : string
Parameters
onError : (task: TextFileAssetTask, message: string, exception: any) => void
Parameters
|
Name |
Type |
Description |
|
task |
TextFileAssetTask |
|
optional |
message |
string |
|
optional |
exception |
any |
|
Methods
runTask(scene, onSuccess, onError) → void
Parameters
|
Name |
Type |
Description |
|
scene |
Scene |
|
|
onSuccess |
|
|
|
onError |
optional |
message |
string |
|
optional |
exception |
any |
|