private void TryCloseSettings() { _back.interactable = false; bool savable = true; #if !UNITY_STANDALONE && !UNITY_EDITOR savable = false; #endif bool settingsChanged = !_oldSettings.Equals(PersistentDataManager.playerSettings); if (settingsChanged && savable) { AskSave(); } else { CloseSettings(); } }