UnityEditor.BuildPipeline.WebPlayerAssetBundlesAreNoLongerSupported C# (CSharp) Method

WebPlayerAssetBundlesAreNoLongerSupported() private method

private WebPlayerAssetBundlesAreNoLongerSupported ( ) : bool
return bool
        private static bool WebPlayerAssetBundlesAreNoLongerSupported()
        {
            throw new InvalidOperationException("WebPlayer asset bundles can no longer be built in 5.4+");
        }

Usage Example

示例#1
0
 public static AssetBundleManifest BuildAssetBundles(string outputPath, AssetBundleBuild[] builds, [DefaultValue("BuildAssetBundleOptions.None")] BuildAssetBundleOptions assetBundleOptions)
 {
     BuildPipeline.WebPlayerAssetBundlesAreNoLongerSupported();
     return(null);
 }
All Usage Examples Of UnityEditor.BuildPipeline::WebPlayerAssetBundlesAreNoLongerSupported