// Static initialiser called by Unity Editor whenever scripts are loaded (editor or play mode)
    static ExitPlayModeOnScriptCompile()
    {
        Unused(_instance);
        _instance = new ExitPlayModeOnScriptCompile();
#pragma warning disable CS0618 // Type or member is obsolete
        EditorApplication.playmodeStateChanged += OnPlayModeChanged;
#pragma warning restore CS0618 // Type or member is obsolete
    }
 // Static initialiser called by Unity Editor whenever scripts are loaded (editor or play mode)
 static ExitPlayModeOnScriptCompile()
 {
     Unused(_instance);
     _instance = new ExitPlayModeOnScriptCompile();
 }
 // Static initialiser called by Unity Editor whenever scripts are loaded (editor or play mode)
 static ExitPlayModeOnScriptCompile()
 {
     Unused(_instance);
     _instance = new ExitPlayModeOnScriptCompile();
     EditorApplication.playmodeStateChanged += OnPlayModeChanged;
 }