static void ShowWepAppSourceCode() { WebAppDownloader.GetPackageVersion("com.unity.renderstreaming", (version) => { var url = WebAppDownloader.GetURLSourceCode(version); Application.OpenURL(url); }); }
static void DownloadWebAppFromMenu() { WebAppDownloader.GetPackageVersion("com.unity.renderstreaming", (version) => { var dstPath = EditorUtility.OpenFolderPanel("Select download folder", "", ""); WebAppDownloader.DownloadWebApp(version, dstPath); }); }