You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
583 B
26 lines
583 B
9 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using UnityEditor;
|
||
|
|
||
|
namespace UnityTest
|
||
|
{
|
||
|
public class IntegrationTestsRunnerSettings : ProjectSettingsBase
|
||
|
{
|
||
|
public bool blockUIWhenRunning = true;
|
||
|
public bool pauseOnTestFailure;
|
||
|
|
||
|
public void ToggleBlockUIWhenRunning ()
|
||
|
{
|
||
|
blockUIWhenRunning = !blockUIWhenRunning;
|
||
|
Save ();
|
||
|
}
|
||
|
|
||
|
public void TogglePauseOnTestFailure()
|
||
|
{
|
||
|
pauseOnTestFailure = !pauseOnTestFailure;
|
||
|
Save ();
|
||
|
}
|
||
|
}
|
||
|
}
|