public void OpenBetting(QuizInfo quizInfo) { #if (UNITY_EDITOR) #elif (UNITY_ANDROID) #else #endif if (UtilMgr.HasBackEvent()) { UtilMgr.RunAllBackEvents(); } QuizMgr.QuizInfo = quizInfo; QuizMgr.IsBettingOpended = true; QuizMgr.JoinCount = 0; UtilMgr.SetBackEvent(new EventDelegate(this, "AnimateClosing")); mBetting.SetActive(true); mBetting.GetComponent <ScriptTF_Betting> ().Init(quizInfo); transform.GetComponent <PlayMakerFSM> ().SendEvent("OpenBetting"); transform.root.GetComponent <AudioSource>().PlayOneShot(mSoundOpenBet); }