public static bool IsRankWidgetActive(RankingFormWidget widget) { CUIFormScript form = Singleton <CUIManager> .instance.GetForm(RankingSystem.s_rankingForm); if (form == null) { return(false); } return(form.GetWidget((int)widget).activeSelf); }
public static bool IsRankWidgetActive(RankingFormWidget widget) { CUIFormScript form = Singleton <CUIManager> .get_instance().GetForm(RankingSystem.s_rankingForm); return(!(form == null) && form.GetWidget((int)widget).activeSelf); }