void OnEnable()
 {
     if (s_SharedMinMaxCurveEditor && s_SharedMinMaxCurveEditor != this)
         s_SharedMinMaxCurveEditor.Close();
     s_SharedMinMaxCurveEditor = this;
     Init(null);
 }
예제 #2
0
 void OnDisable()
 {
     m_CurveEditor.OnDisable();
     if (s_SharedMinMaxCurveEditor == this)
     {
         s_SharedMinMaxCurveEditor = null;
     }
 }