public void TouchRestart() { Debug.Log("TouchRestartTouchRestart"); SceneManager.LoadScene("Level" + GameLevelManager.Ins.level); popupActionType = Config.POPUP_ACTION.RESTART; HidePopup(); }
public void TouchSkipLevel() { Debug.Log("TouchSkipLevelTouchSkipLevel"); if (AdmobManager.instance.isRewardAds_Avaiable()) { lockPopup.gameObject.SetActive(true); AdmobManager.instance.ShowRewardAd_CallBack((AdmobManager.ADS_CALLBACK_STATE state) => { if (state == AdmobManager.ADS_CALLBACK_STATE.SUCCESS) { lockPopup.gameObject.SetActive(false); popupActionType = Config.POPUP_ACTION.SKIPLEVEL; HidePopup(); } else { lockPopup.gameObject.SetActive(false); } }); } else { NotificationPopup.instance.AddNotification("No Video Available!"); } }
public void TouchContinue() { popupActionType = Config.POPUP_ACTION.CONTINUE; HidePopup(); }