Exemplo 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;
 }