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.
30 lines
760 B
30 lines
760 B
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 (); |
|
} |
|
} |
|
}
|
|
|