Пример #1
0
 void Start()
 {
     if (SystemAndAutoFightLogic.Instance().NewPlayerGuideFlag_Step == 0)
     {
         SystemAndAutoFightLogic.Instance().NewPlayerGuide(1);
     }
 }
 void Awake()
 {
     m_Instance = this;
     m_TabController.delTabChanged = onTabChange;
     updateRemindPoint();
     Check_NewPlayerGuide();
 }
Пример #3
0
 private void onClickTeamAndStreng()
 {
     m_MedicineAndSkill.SetActive(false);
     m_TeamAndStreng.SetActive(true);
     m_LeftHightLight.gameObject.SetActive(false);
     m_RightHightLight.gameObject.SetActive(true);
     updateRemindPoint();
     if (SystemAndAutoFightLogic.Instance().NewPlayerGuideFlag_Step == 3)
     {
         SystemAndAutoFightLogic.Instance().NewPlayerGuide(4);
     }
 }
        public uint Execute(PacketDistributed ipacket)
        {
            GC_ASK_COMMONFLAG_RET packet = (GC_ASK_COMMONFLAG_RET )ipacket;

            if (null == packet)
            {
                return((uint)PACKET_EXE.PACKET_EXE_ERROR);
            }
            //enter your logic
            GameManager.gameManager.PlayerDataPool.CommonData.HandlePacket(packet);
            if (null != AwardLogic.Instance())
            {
                AwardLogic.Instance().UpdateTip();
            }
            if (null != FunctionButtonLogic.Instance())
            {
                FunctionButtonLogic.Instance().UpdateButtonAwardTips();
            }
            if (null != PlayerFrameLogic.Instance())
            {
                PlayerFrameLogic.Instance().UpdateRemainNum();
            }
            if (null != MenuBarLogic.Instance())
            {
                MenuBarLogic.Instance().UpdateSystemCountTip();
                MenuBarLogic.Instance().UpdateRoleCountTip();
            }
            if (null != SystemAndAutoFightLogic.Instance())
            {
                SystemAndAutoFightLogic.Instance().updateRemindPoint();
            }
            if (null != AutoFightLogic.Instance())
            {
                AutoFightLogic.Instance().updateRemindPoint();
            }
            if (null != RoleViewLogic.Instance())
            {
                RoleViewLogic.Instance().updateGemRemindPoint();
            }
            if (null != GemLogic.Instance())
            {
                GemLogic.Instance().updateGemRemindPoint();
            }
            return((uint)PACKET_EXE.PACKET_EXE_CONTINUE);
        }
 void OnDestroy()
 {
     m_Instance = null;
 }