CLASSES
TagsA - Z

AbstractAssetTask

Description

class AbstractAssetTask

Constructor

new AbstractAssetTask()

Members

onSuccess : IAssetTask) => void

onError : (task: IAssetTask, message: string, exception: any) => void

isCompleted : boolean

taskState : AssetTaskState

errorObject : { message: string, exception: any }

Methods

run(scene, onSuccess, onError) void

Parameters

Name Type Description
scene Scene
onSuccess () => void
onError (message: string, exception: any) => void

runTask(scene, onSuccess, onError) void

Parameters

Name Type Description
scene Scene
onSuccess () => void
onError (message: string, exception: any) => void