private void EditorDisconnected(int playerID) { if (editorID == playerID) { editorID = -1; } DisconnectFromEditor(); if (m_session != null) { m_session.Pause(); m_session = null; } }
void EditorDisconnected(int playerID) { if (editorID == playerID) { editorID = -1; } DisconnectFromEditor(); #if !UNITY_EDITOR if (m_session != null) { m_session.Pause(); m_session = null; } #endif }
void EditorDisconnected(int playerID) { if (editorID == playerID) { editorID = -1; } DisconnectFromEditor(); Screen.sleepTimeout = SleepTimeout.SystemSetting; #if !UNITY_EDITOR if (m_session != null) { m_session.Pause(); m_session = null; } #endif }