コード例 #1
0
 /// <summary>
 /// Gets the asset bundle name for the specified asset.
 /// </summary>
 /// <param name="assetGuid">
 /// The guid of the asset.
 /// </param>
 /// <returns>
 /// <c>null</c> if the asset is not in asset bundle.
 /// </returns>
 public static string GetAssetBundleName(string assetGuid)
 {
     return(
         Mode == ResourceMapMode.Editor ?
         ResourceMapEditorAdaptor.GetAssetBundleName(assetGuid) :
         ResourceMapPlayerAdaptor.GetAssetBundleName(assetGuid)
         );
 }