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.
25 lines
583 B
25 lines
583 B
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 (); |
|
} |
|
} |
|
}
|
|
|