void Start() { if (Instance != null && Instance != this) { Destroy(gameObject); } else { Instance = this; } cardServiceInstance.BuildData(); progressServiceInstance.BuildDataBase(); settingsServiceInstance.MasterMixer = Resources.Load("Audio/MasterMixer") as AudioMixer; settingsServiceInstance.InitializeVolume(); DontDestroyOnLoad(gameObject); if (!(SceneManager.GetActiveScene().name == "TestScene")) { SceneManager.LoadScene("Main Menu"); } }