public PrepareTools() { m_PackageTestRunner = PackageTestRunnerSingleton.instance.packageTestRunner; m_PackageTestRunner.Refresh(); MenuExtensions.onShowDevToolsSet += OnShowDevToolsSet; }
public PrepareTools(IPackageVersion packageVersion, PackageTestRunner packageTestRunner = null) { ToolbarExtension.SetStyleSheets(this); PackageTestRunner = packageTestRunner ?? PackageTestRunnerSingleton.instance.PackageTestRunner; PackageVersion = packageVersion; RefreshDevelopmentButtons(); SetupTestButton(); SetupValidateButton(); PackageTestRunner.Refresh(); SetPackageTestRunner(); MenuExtensions.OnShowDevToolsSet += OnShowDevToolsSet; }