void OnDisable() { ScriptMainTop smt = mTop.GetComponent <ScriptMainTop> (); smt.mBtnHighlight.SetActive(true); smt.mBtnLineup.SetActive(true); smt.mBtnLivetalk.SetActive(true); smt.mBtnBingo.SetActive(true); }
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 (); }
public static void EnterMain(ScriptMainTop script) { Instance.mMainTop = script; Instance.mMatchPlaying = Instance.mMainTop.GetComponent <ScriptMainTop>() .mHighlight.transform.FindChild("MatchPlaying").GetComponent <ScriptMatchPlaying>(); }
public static void EnterMain(ScriptMainTop script) { Instance.mMainTop = script; }