UnityEditor.Collider2DEditorBase.OnEnable C# (CSharp) Method

OnEnable() public method

public OnEnable ( ) : void
return void
        public override void OnEnable()
        {
            base.OnEnable();
            this.m_Density = base.serializedObject.FindProperty("m_Density");
            this.m_ShowDensity.value = this.ShouldShowDensity();
            this.m_ShowDensity.valueChanged.AddListener(new UnityAction(this.Repaint));
            this.m_ShowInfo.valueChanged.AddListener(new UnityAction(this.Repaint));
            this.m_Material = base.serializedObject.FindProperty("m_Material");
            this.m_IsTrigger = base.serializedObject.FindProperty("m_IsTrigger");
            this.m_UsedByEffector = base.serializedObject.FindProperty("m_UsedByEffector");
            this.m_Offset = base.serializedObject.FindProperty("m_Offset");
        }