|
@@ -39,6 +39,7 @@ namespace GFGGame
|
|
private GButton _btnBag;
|
|
private GButton _btnBag;
|
|
private GButton _btnActivityDay7;
|
|
private GButton _btnActivityDay7;
|
|
private GButton _btnGallery;
|
|
private GButton _btnGallery;
|
|
|
|
+ private GButton _btnPoem;
|
|
private List<EffectUI> _effectUIList = new List<EffectUI>();
|
|
private List<EffectUI> _effectUIList = new List<EffectUI>();
|
|
private UI_ButtonModle1[] _btns;
|
|
private UI_ButtonModle1[] _btns;
|
|
private bool firstIn;
|
|
private bool firstIn;
|
|
@@ -98,6 +99,7 @@ namespace GFGGame
|
|
_btnTuJian = _ui.m_list.GetChild("btnTuJian").asButton;
|
|
_btnTuJian = _ui.m_list.GetChild("btnTuJian").asButton;
|
|
_btnBag = _ui.m_list.GetChild("btnBag").asButton;
|
|
_btnBag = _ui.m_list.GetChild("btnBag").asButton;
|
|
_btnGallery = _ui.m_list.GetChild("btnGallery").asButton;
|
|
_btnGallery = _ui.m_list.GetChild("btnGallery").asButton;
|
|
|
|
+ _btnPoem = _ui.m_list.GetChild("btnPoem").asButton;
|
|
|
|
|
|
_btnActivityDay7 = _ui.m_btnActivityDay7.target;
|
|
_btnActivityDay7 = _ui.m_btnActivityDay7.target;
|
|
|
|
|
|
@@ -140,6 +142,7 @@ namespace GFGGame
|
|
_ui.m_btnSevenReward.target.onClick.Add(OnClickSevenReward);
|
|
_ui.m_btnSevenReward.target.onClick.Add(OnClickSevenReward);
|
|
_ui.m_btnPearRebate.target.onClick.Add(OnClickPearRabate);
|
|
_ui.m_btnPearRebate.target.onClick.Add(OnClickPearRabate);
|
|
_btnGallery.onClick.Add(OnClickGallery);
|
|
_btnGallery.onClick.Add(OnClickGallery);
|
|
|
|
+ _btnPoem.onClick.Add(OnClickPoem);
|
|
|
|
|
|
_ui.m_comListAd.m_listAd.itemRenderer = RenderListAdItem;
|
|
_ui.m_comListAd.m_listAd.itemRenderer = RenderListAdItem;
|
|
_ui.m_comListAd.m_listAd.SetVirtualAndLoop();
|
|
_ui.m_comListAd.m_listAd.SetVirtualAndLoop();
|
|
@@ -514,6 +517,10 @@ namespace GFGGame
|
|
{
|
|
{
|
|
ViewManager.Show<PoemGalleryView>();
|
|
ViewManager.Show<PoemGalleryView>();
|
|
}
|
|
}
|
|
|
|
+ private void OnClickPoem()
|
|
|
|
+ {
|
|
|
|
+ ViewManager.Show<PoemPhotoView>();
|
|
|
|
+ }
|
|
|
|
|
|
private void OnClickBtnLeague()
|
|
private void OnClickBtnLeague()
|
|
{
|
|
{
|