public void OpenSettings() { wndBackGround.gameObject.SetActive(true); wndSettings.gameObject.SetActive(true); playingManager.SwitchPause(true); }