예제 #1
0
        public PrepareTools()
        {
            m_PackageTestRunner = PackageTestRunnerSingleton.instance.packageTestRunner;

            m_PackageTestRunner.Refresh();
            MenuExtensions.onShowDevToolsSet += OnShowDevToolsSet;
        }
예제 #2
0
        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;
        }