public override void OnInspectorGUI()
 {
     if (ScaleConstraintEditor.s_Style == null)
     {
         ScaleConstraintEditor.s_Style = new ScaleConstraintEditor.Styles();
     }
     base.serializedObject.Update();
     base.ShowConstraintEditor <ScaleConstraint>(ScaleConstraintEditor.s_Style);
     base.serializedObject.ApplyModifiedProperties();
 }
 public void OnEnable()
 {
     if (ScaleConstraintEditor.s_Style == null)
     {
         ScaleConstraintEditor.s_Style = new ScaleConstraintEditor.Styles();
     }
     this.m_ScaleAtRest       = base.serializedObject.FindProperty("m_ScaleAtRest");
     this.m_ScaleOffset       = base.serializedObject.FindProperty("m_ScaleOffset");
     this.m_Weight            = base.serializedObject.FindProperty("m_Weight");
     this.m_IsContraintActive = base.serializedObject.FindProperty("m_IsContraintActive");
     this.m_IsLocked          = base.serializedObject.FindProperty("m_IsLocked");
     this.m_Sources           = base.serializedObject.FindProperty("m_Sources");
     base.OnEnable(ScaleConstraintEditor.s_Style);
 }