CSL_Traffic.UI.RoadCustomizerPanel.OnDisable C# (CSharp) 메소드

OnDisable() 개인적인 메소드

private OnDisable ( ) : void
리턴 void
        private void OnDisable()
        {
            RoadCustomizerTool rct = ToolsModifierControl.GetTool<RoadCustomizerTool>();
            if (rct != null)
            {
                if (m_panelType == Panel.VehicleRestrictions)
                {
                    rct.OnStartLaneCustomization -= EnableIcons;
                    rct.OnEndLaneCustomization -= DisableIcons;
                }
            }
        }