public void OnClickUseByDiamond() { //oogleAnalyticsV4.getInstance().LogEvent("SKILL", "Use Skill Hammer By Diamond", string.Empty, 0L); if (this.callbackUseSkill != null) { if (UserProfile.Instance.GetDiamond() >= this.coinUseIcon) { this.callbackUseSkill.Invoke(); } else { iAPDialog dialog = GameManager.Instance.OnShowDialog <iAPDialog>("iAP"); this.HideSkill(); } } }
public void OnClickIAP() { iAPDialog iap = GUIManager.Instance.OnShowDialog <iAPDialog>("iAP"); }
public void OnClickStore() { //oogleAnalyticsV4.getInstance().LogEvent("Menu", "Store Pause Click", string.Empty, 0L); SoundManager.Instance.PlaySfx(SFX.Button); iAPDialog store = GameManager.Instance.OnShowDialog <iAPDialog>("iAP"); }