A game about forced loneliness, made by TACStudios
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 31 lines 703 B view raw
1using System; 2using UnityEngine; 3 4namespace UnityEditor.TestTools.TestRunner 5{ 6 internal class EditModeLauncherContextSettings : IDisposable 7 { 8 private bool m_RunInBackground; 9 10 public EditModeLauncherContextSettings() 11 { 12 SetupProjectParameters(); 13 } 14 15 public void Dispose() 16 { 17 CleanupProjectParameters(); 18 } 19 20 private void SetupProjectParameters() 21 { 22 m_RunInBackground = Application.runInBackground; 23 Application.runInBackground = true; 24 } 25 26 private void CleanupProjectParameters() 27 { 28 Application.runInBackground = m_RunInBackground; 29 } 30 } 31}