Exemplo n.º 1
0
 void OnChangeVipViewClick(object obj)
 {
     if (uiParent.isCurPayPanel)
     {
         SoundManager.Instance.PlaySoundEffect("Sound_Button_VIPRecharge");
     }
     else
     {
         SoundManager.Instance.PlaySoundEffect("Sound_Button_VIPPrivilege");
     }
     uiParent.isCurPayPanel = !uiParent.isCurPayPanel;
     vipBtn.SetButtonBackground(uiParent.isCurPayPanel?1:2);
     uiParent.OnVipShowButtonClick(uiParent.isCurPayPanel);
     //spriteBtn.ChangeSprite(uiParent.isCurPayPanel ?1:2);//spriteBtn.spriteName = uiParent.isCurPayPanel ? "JH_UI_Typeface_1313" : "JH_UI_Typeface_1313";
 }