protected override void OnLoad()
 {
     bundle = MyBundles.LoadSync(MyAssets.GetBundleByAssetName(assetName));
 }
Пример #2
0
 protected override void OnLoad()
 {
     bundle = MyBundles.Load(MyAssets.GetBundleByAssetName(assetName));
     asset  = bundle.LoadAsset(MyAssets.GetAssetPathByAssetName(assetName), assetType);
 }