Пример #1
0
    public void LineupClicked()
    {
        DisableTF();
        transform.FindChild("TF_Lineup").gameObject.SetActive(true);
        DisableSub2();
        mBtnLineup.transform.FindChild("Label").GetComponent <UILabel>().color = Color.white;
        mToggles.SetActive(true);

        if (mSub2State == Sub2State.LineUp)
        {
            return;
        }

        mSub2State = Sub2State.LineUp;
    }
Пример #2
0
    public void HistoryClicked()
    {
        DisableTF();
        transform.FindChild("TF_Statistics").gameObject.SetActive(true);
        DisableSub2();
        mBtnHistory.transform.FindChild("Label").GetComponent <UILabel>().color = Color.white;

        if (mSub2State == Sub2State.History)
        {
            return;
        }

        mSub2State = Sub2State.History;

        transform.FindChild("TF_Statistics").GetComponent <StatisControl>().Init();
    }
Пример #3
0
 void Awake()
 {
     mTopState  = TopState.Empty;
     mSub1State = Sub1State.Empty;
     mSub2State = Sub2State.Empty;
 }