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.
31 lines
760 B
31 lines
760 B
9 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityTest
|
||
|
{
|
||
|
|
||
|
public class UnitTestsRunnerSettings : ProjectSettingsBase
|
||
|
{
|
||
|
public bool runOnRecompilation;
|
||
|
public bool horizontalSplit = true;
|
||
|
public bool autoSaveSceneBeforeRun;
|
||
|
public bool runTestOnANewScene;
|
||
|
|
||
|
public void ToggleRunTestOnANewScene() {
|
||
|
runTestOnANewScene = !runTestOnANewScene;
|
||
|
Save ();
|
||
|
}
|
||
|
|
||
|
public void ToggleAutoSaveSceneBeforeRun() {
|
||
|
autoSaveSceneBeforeRun = !autoSaveSceneBeforeRun;
|
||
|
Save ();
|
||
|
}
|
||
|
|
||
|
public void ToggleHorizontalSplit() {
|
||
|
horizontalSplit = !horizontalSplit;
|
||
|
Save ();
|
||
|
}
|
||
|
}
|
||
|
}
|