private void Update() { if (this.isNeedUpdate) { this.isNeedUpdate = false; if (!this.isLoading && !String.IsNullOrEmpty(ButtonGroupState.ActiveGroup)) { if (!this.showPointerWhenLoading) { Singleton <PointerManager> .Instance.SetAllPointerVisibility(true); } ButtonGroupState.SetActiveGroupEnable(true); } else if (this.isLoading) { if (!this.showPointerWhenLoading) { Singleton <PointerManager> .Instance.SetAllPointerVisibility(false); } ButtonGroupState.SetActiveGroupEnable(false); } } }