void OnBuyChallengeCoutClick() { BuyCopySceneNumWindow BuyWindow = m_BuyCopySceneNumWindow.GetComponent <BuyCopySceneNumWindow>(); if (BuyWindow != null) { BuyWindow.SendData((int)Games.GlobeDefine.GameDefine_Globe.SCENE_DEFINE.SCENE_HUASHANLUNJIAN, true); BuyWindow.gameObject.SetActive(true); } }
public void OnClickBuyCount() { BuyCopySceneNumWindow BuyWindow = m_BuyTiaozhanInfo.GetComponent <BuyCopySceneNumWindow>(); if (BuyWindow != null) { BuyWindow.SendData(8, true); BuyWindow.gameObject.SetActive(true); } }
public void OnBuyCopySceneNumBtnClick() { int nRemainNum = VipData.GetVipCopySceneRemainBuyNum(CopySceneId, CopyMode == 1 ? true : false); if (VipData.GetVipLv() <= 0 || nRemainNum < 0) { if (Singleton <ObjManager> .GetInstance().MainPlayer) { Singleton <ObjManager> .GetInstance().MainPlayer.SendNoticMsg(false, "#{11442}"); } return; } BuyCopySceneNumWindow BuyWindow = m_BuyCopySceneWindow.GetComponent <BuyCopySceneNumWindow>(); if (BuyWindow != null) { BuyWindow.SendData(CopySceneId, CopyMode == 1 ? true : false); BuyWindow.gameObject.SetActive(true); } }