private void HandleOrderHallfilterOptionsButtonSelected(OrderHallFilterOptionsButton navButton) { if (navButton == this) { if (!this.m_isSelected) { this.m_normalImage.enabled = false; this.m_selectedImage.enabled = true; this.StopGlowEffect(); this.m_glowSpinHandle = UiAnimMgr.instance.PlayAnim("PrestigeSpin", this.m_selectionGlowRoot.transform, Vector3.zero, 1.245f, 0f); this.m_glowPulseHandle = UiAnimMgr.instance.PlayAnim("PrestigePulse", this.m_selectionGlowRoot.transform, Vector3.zero, 1.245f, 0f); UiAnimMgr.instance.PlayAnim("MinimapPulseAnim", base.transform, Vector3.zero, 1.5f, 0f); this.m_labelArea.SetActive(true); this.ResizeForSelect(); this.m_isSelected = true; } } else { this.m_labelArea.SetActive(false); this.m_normalImage.enabled = true; this.m_selectedImage.enabled = false; if (this.m_isSelected) { this.StopGlowEffect(); this.ResizeForDeselect(); this.m_isSelected = false; } } }
public void SelectOrderHallFilterOptionsButton(OrderHallFilterOptionsButton filterOptionsButton) { if (this.OrderHallfilterOptionsButtonSelectedAction != null) { this.OrderHallfilterOptionsButtonSelectedAction.Invoke(filterOptionsButton); } }