Esempio 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;
 }
Esempio n. 2
0
 protected override void OnLoad()
 {
     bundle          = ABAssets.Bundles.LoadAsync(ABAssets.GetBundleName(assetPath));
     bundle.onError += ThrowError;
 }