public void DialogClickHandler(DialogueMgr.BTNS btn) { if (btn == DialogueMgr.BTNS.Btn1) { UtilMgr.Quit(); } }
public void DialogueClickHandler(DialogueMgr.BTNS btn) { if (mMustUpdate) { if (btn == DialogueMgr.BTNS.Btn1) { Debug.Log("Go to Store"); #if (UNITY_ANDROID) Application.OpenURL(Constants.STORE_GOOGLE); #else Application.OpenURL(Constants.STORE_IPHONE); #endif } else { UtilMgr.Quit(); } } else { if (btn == DialogueMgr.BTNS.Btn1) { Debug.Log("Go to Store"); #if (UNITY_ANDROID) Application.OpenURL(Constants.STORE_GOOGLE); #else Application.OpenURL(Constants.STORE_IPHONE); #endif } else { CheckPreference(); } } }
public void DialogClickHandler(DialogueMgr.BTNS btn) { // Debug.Log("Clicked : "+btn); if (btn == DialogueMgr.BTNS.Btn1) { UtilMgr.Quit(); } }