UnityEngine.Networking.DownloadHandlerAssetBundle.GetContent C# (CSharp) Méthode

GetContent() public static méthode

Returns the downloaded AssetBundle, or null.

public static GetContent ( UnityWebRequest www ) : AssetBundle
www UnityWebRequest A finished UnityWebRequest object with DownloadHandlerAssetBundle attached.
Résultat UnityEngine.AssetBundle
        public static AssetBundle GetContent(UnityWebRequest www)
        {
            return DownloadHandler.GetCheckedDownloader<DownloadHandlerAssetBundle>(www).assetBundle;
        }
    }