Exemplo n.º 1
0
    public void InfoTeamClicked()
    {
        if (mSub1State == Sub1State.InfoTeam)
        {
            return;
        }

        DisableSub1();
        mSub1State = Sub1State.InfoTeam;
        mBtnInfoTeam.transform.FindChild("Label").GetComponent <UILabel>().color = Color.white;
        mToggles.SetActive(true);
    }
Exemplo n.º 2
0
    public void InfoMatchClicked()
    {
        DisableTF();
        transform.FindChild("TF_Highlight").gameObject.SetActive(true);
        DisableSub1();
        mBtnInfoMatch.transform.FindChild("Label").GetComponent <UILabel>().color = Color.white;
        mToggles.SetActive(true);

        if (mSub1State == Sub1State.InfoMatch)
        {
            return;
        }

        mSub1State = Sub1State.InfoMatch;
    }
Exemplo n.º 3
0
    public void RankTeamClicked()
    {
        DisableTF();
        transform.FindChild("TF_Ranking").gameObject.SetActive(true);
        DisableSub1();
        mBtnRankTeam.transform.FindChild("Label").GetComponent <UILabel>().color = Color.white;

        if (mSub1State == Sub1State.RankTeam)
        {
            return;
        }

        mSub1State = Sub1State.RankTeam;

        transform.FindChild("TF_Ranking").GetComponent <Rankcontrol>().Init();
    }
Exemplo n.º 4
0
 void Awake()
 {
     mTopState  = TopState.Empty;
     mSub1State = Sub1State.Empty;
     mSub2State = Sub2State.Empty;
 }