mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Formatted comment and error message
This commit is contained in:
parent
86a2c6f52c
commit
1c58891e32
@ -1,4 +1,4 @@
|
||||
// Unity 2019.3 has an experimental 'disable domain reload on play'
|
||||
// Unity 2019.3 has an experimental 'disable domain reload on play'
|
||||
// feature. keeping any global state between sessions will break
|
||||
// Mirror and most of our user's projects. don't allow it for now.
|
||||
// https://blogs.unity3d.com/2019/11/05/enter-play-mode-faster-in-unity-2019-3/
|
||||
@ -33,11 +33,10 @@ static void OnPlayModeStateChanged(PlayModeStateChange state)
|
||||
|
||||
static void CheckPlayModeOptions()
|
||||
{
|
||||
// enabling the checkbox is enough. it controls all the other
|
||||
// settings.
|
||||
// enabling the checkbox is enough. it controls all the other settings.
|
||||
if (EditorSettings.enterPlayModeOptionsEnabled)
|
||||
{
|
||||
Debug.LogError("Enter Play Mode Options are not supported by Mirror. Please disable 'ProjectSettings->Editor->Enter Play Mode Settings (Experimental)'.");
|
||||
Debug.LogError("Enter Play Mode Options are not supported by Mirror. Please disable 'ProjectSettings -> Editor -> Enter Play Mode Settings (Experimental)'.");
|
||||
EditorApplication.isPlaying = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user