Ejemplo n.º 1
0
    private void ClickHandler(GameObject obj)
    {
        AlertIcon.SetActive(false);
        var msg = new CSSignLoad();
        NetManager.SendMessage(msg);

        //WindowManager.Instance.Show<SignWindow>(true);
    }
Ejemplo n.º 2
0
        public static void OnSignSuccess(ThriftSCMessage msg)
        {
            var sysmsg = msg.GetContent() as SCSignSucc;

            if (sysmsg != null)
            {
                PopTextManager.PopTip("今日签到成功!", false);
                WindowManager.Instance.Show<SignWindow>(false);
                var signmsg = new CSSignLoad();
                NetManager.SendMessage(signmsg);
                GlobalWindowSoundController.Instance.PlayRewardSound();
            }
            else
            {
                Logger.LogError("Notice list message should not be null.");
            }
        }