Esempio n. 1
0
    private void OnClickPTaskBtn(ButtonScript obj, object args, int param1, int param2)
    {
        if (GamePlayer.Instance.GetOpenSubSystemFlag(OpenSubSystemFlag.OSSF_Team))
        {
            teampassCount--;
            isteamquestbtn = true;
        }

        SwitchBtnSprite(false);
        teamObj.SetActive(false);
        tasksObj.SetActive(true);
        if (isquestbtn)
        {
            passCount  = 0;
            isquestbtn = false;
        }
        passCount++;
        if (passCount >= 2)
        {
            TaskUI.SwithShowMe();
        }
        GuideManager.Instance.ProcEvent(ScriptGameEvent.SGE_MainTaskUI);
    }
Esempio n. 2
0
 private void OnClickrenwuBtn(ButtonScript obj, object args, int param1, int param2)
 {
     TaskUI.SwithShowMe();
 }