public void OnOBFormOpen(CUIEvent cuiEvent) { CUICommonSystem.ResetLobbyFormFadeRecover(); if (CUICommonSystem.IsInMatchingWithAlert()) { return; } CUIFormScript cUIFormScript = Singleton <CUIManager> .instance.OpenForm(COBSystem.OB_FORM_PATH, false, true); if (cUIFormScript == null) { return; } CUIListScript componetInChild = Utility.GetComponetInChild <CUIListScript>(cUIFormScript.gameObject, "Panel_Menu/List"); this.InitTab(componetInChild); Transform transform = cUIFormScript.gameObject.transform.FindChild("Panel_Menu/BtnVideoMgr"); if (transform && transform.gameObject) { if (!Singleton <CRecordUseSDK> .instance.GetRecorderGlobalCfgEnableFlag()) { transform.gameObject.CustomSetActive(false); } else { transform.gameObject.CustomSetActive(true); } } CMiShuSystem.SendUIClickToServer(enUIClickReprotID.rp_OpenOB); }