title: How can i load asset bundle which don't know the name of asset?
body: <p>I want to load and instantiate asset from my asset bundle, but in unity 5.+ i can do it with code like this:
  Note: my assetbundle have one asset inside itself, like: </p>
  
  <pre><code>AssetBundle myLoadedAssetBundle;
  public string path;
  
  void Start()
  {
      LoadAssetBundle(path);
  }
  
  void LoadAssetBundle(string bundleUrl)
  {
      myLoadedAssetBundle = AssetBundle.LoadFromFile(bundleUrl);
      Debug.Log(myLoadedAssetBundle == null ? "Faild To Load" : "Succesfully Loaded!");
      Debug.Log(myLoadedAssetBundle.mainAsset.name);
  
      Instantiate(myLoadedAssetBundle.mainAsset);
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>actually even i use </p>
  
  <pre><code>Debug.Log(myLoadedAssetBundle.mainAsset.name);
  </code></pre>
  
  <p>to log name of mainasset of my assetbundle!</p>
  
  <p>but in unity after 5+ , they say mainasset is obsolete. </p>
  
  <p>my questions is:</p>
  
  <p>1- <strong>How can i load asset bundle which don't know the name of asset?</strong></p>
  
  <p>2- <strong>How Instantiate or assign sprite which loaded of assetbundle ?</strong></p>