public override void OnLoadAssetSuccess(LoadResourceAgent agent, object asset, float duration)
 {
     base.OnLoadAssetSuccess(agent, asset, duration);
     m_MainTask.OnLoadDependencyAsset(agent, AssetName, asset, ResourceObject != null ? ResourceObject.Target : null);
 }
Exemplo n.º 2
0
 public override void OnLoadSuccess(LoadResourceAgent agent, object asset, object instance, float duration)
 {
     base.OnLoadSuccess(agent, asset, instance, duration);
     m_MainTask.OnLoadDependencyAsset(agent, AssetName, asset);
 }