private void OnDisable()
{
this.m_CurveEditor.OnDisable();
if (s_SharedCurveEditor == this)
{
s_SharedCurveEditor = null;
}
else if (!this.Equals(s_SharedCurveEditor))
{
throw new ApplicationException("s_SharedCurveEditor does not equal this");
}
}