Beispiel #1
0
    void OnDisable()
    {
        ScriptMainTop smt = mTop.GetComponent <ScriptMainTop> ();

        smt.mBtnHighlight.SetActive(true);
        smt.mBtnLineup.SetActive(true);
        smt.mBtnLivetalk.SetActive(true);
        smt.mBtnBingo.SetActive(true);
    }
Beispiel #2
0
    public void OnClicked()
    {
        GameObject    top = GameObject.Find("Top");
        ScriptMainTop smt = top.GetComponent <ScriptMainTop>();
//		smt.mHighlight.SetActive (false);
//		smt.mLineup.SetActive (false);
//		smt.mBingo.SetActive (false);
//		smt.mLivetalk.SetActive (false);
//		smt.mBetting.SetActive (true);
//		smt.OpenBetting ();
    }
Beispiel #3
0
 public static void EnterMain(ScriptMainTop script)
 {
     Instance.mMainTop      = script;
     Instance.mMatchPlaying = Instance.mMainTop.GetComponent <ScriptMainTop>()
                              .mHighlight.transform.FindChild("MatchPlaying").GetComponent <ScriptMatchPlaying>();
 }
Beispiel #4
0
 public static void EnterMain(ScriptMainTop script)
 {
     Instance.mMainTop = script;
 }