public void RetartWholeGame() { isRestartWholegame = true; SwipeManager.Instance.startSwipe = false; openCards.Clear(); //Debug.Log (openCards.Count); firstDraw = 0; ResetCard(); // StartCoroutine (ResetCard ()); if (PlayerPrefs.GetInt("RemoveAds") != 2) { if (StartAppWrapperiOS.isAdReady()) { StartAppWrapperiOS.showAd(); } else { StartAppWrapperiOS.loadAd(); } } }