Ejemplo n.º 1
0
 protected override void OnLoad()
 {
     bundle          = ABAssets.Bundles.LoadSync(ABAssets.GetBundleName(assetPath));
     bundle.onError += ThrowError;
     m_asset         = bundle.LoadAsset(ABAssets.GetAssetName(assetPath), assetType);
     m_isdone        = true;
 }
Ejemplo n.º 2
0
 protected override void OnLoad()
 {
     bundle          = ABAssets.Bundles.LoadAsync(ABAssets.GetBundleName(assetPath));
     bundle.onError += ThrowError;
 }