public void OnClickQuitDeckBuilder(string sceneName) { if (deckController.numberOfCards != 5) { deckController.NotifyErrorAllowedNumber(); } else { if (IListExtensions.AreEqual(deckController.deckCards, deckController.GetCurrentDeckCards())) { SceneManager.LoadScene(sceneName, LoadSceneMode.Single); } else { notificationController.GetComponent <Animator>().SetTrigger(parameterConfirmationHash); } } }