public static void HideSysEntryChargeRedDot() { CUIFormScript form = Singleton <CUIManager> .GetInstance().GetForm(CLobbySystem.SYSENTRY_FORM_PATH); if (form != null) { GameObject gameObject = Utility.FindChild(form.gameObject, "PlayerBtn/Dianquan/Button"); if (gameObject != null) { CUIRedDotSystem.DelRedDot(gameObject); } } }
private void OnRevertoVisiable(CUIEvent uiEvent) { CUIFormScript srcFormScript = uiEvent.m_srcFormScript; if (srcFormScript == null) { return; } GameObject target = srcFormScript.m_formWidgets[1]; if (NetworkAccelerator.IsCommercialized() && !CUIRedDotSystem.IsShowRedDotByVersion(enRedID.Lobby_PayEntry)) { CUIRedDotSystem.DelRedDot(target); } }