File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/BossRoom/Scripts/Editor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public class SceneBootstrapper
34
34
const string k_LoadBootstrapSceneOnPlay = "Boss Room/Load Bootstrap Scene On Play" ;
35
35
const string k_DoNotLoadBootstrapSceneOnPlay = "Boss Room/Don't Load Bootstrap Scene On Play" ;
36
36
37
- const string k_TestRunnerObjectName = "Code-based tests runner " ;
37
+ const string k_TestRunnerSceneName = "InitTestScene " ;
38
38
39
39
static bool s_StoppingAndStarting ;
40
40
@@ -167,7 +167,7 @@ static void EditorApplicationOnplayModeStateChanged(PlayModeStateChange obj)
167
167
168
168
static bool IsTestRunnerActive ( )
169
169
{
170
- return GameObject . Find ( k_TestRunnerObjectName ) ;
170
+ return EditorSceneManager . GetActiveScene ( ) . name . StartsWith ( k_TestRunnerSceneName ) ;
171
171
}
172
172
}
173
173
}
You can’t perform that action at this time.
0 commit comments