CSL_Traffic.UI.RoadCustomizerPanel.DisableIcons C# (CSharp) Method

DisableIcons() public method

public DisableIcons ( ) : void
return void
        void DisableIcons()
        {
            for (int i = 0; i < this.m_scrollablePanel.components.Count; i++)
            {
                UIButton btn = this.m_scrollablePanel.components[i] as UIButton;
                btn.state = UIButton.ButtonState.Disabled;
                btn.isEnabled = false;
            }
            StopCoroutine("EmergencyLights");
        }