Esempio n. 1
0
    //召唤队友
    void OnClickZhaoHuan()
    {
        Obj_MainPlayer mainPlayer = Singleton <ObjManager> .Instance.MainPlayer;

        if (mainPlayer != null)
        {
            if (false == mainPlayer.IsTeamLeader())
            {
                mainPlayer.SendNoticMsg(false, "#{4725}");
                return;
            }
            mainPlayer.ReqCallMember();
        }
    }