Ejemplo n.º 1
0
        void Set()
        {
            _isPrimaryBuddy = _setOnce = Tests.Update_Data = true;
            isPc            = Application.platform == RuntimePlatform.WindowsEditor;
            AutomationMaster.OnNewTestLaunch.AddIfNotDuplicate(new OnNewTestLaunch(NewTestLaunched));
            _launched = AutomationMaster.Busy;

            if (TestMonitorHelpers.Helper == null || Overseer == null)
            {
                TestMonitorHelpers.CreateTestObjectHelper();
            }
        }
Ejemplo n.º 2
0
        void OnGUI()
        {
            //Hide loading panel if Automation is successfully executing, or an exception was encountered afte pressing "Play" in Nexus window.
            if ((AutomationMaster.Busy && Application.isPlaying) || (!Application.isPlaying && AutoConsole.Logs.FindAll(x => x.type == LogType.Exception && x.stackTrace.Contains("TrilleonAutomation.") && !x.stackTrace.Contains("/Editor/")).Any()))
            {
                Nexus.Self.HideLoading();
            }

            if (TestMonitorHelpers.Helper == null || Overseer == null)
            {
                TestMonitorHelpers.CreateTestObjectHelper();
            }

            Render();
        }