private void OnEnable()
{
this.m_Mode = base.serializedObject.FindProperty("m_Mode");
this.m_Radius = base.serializedObject.FindProperty("m_Radius");
this.m_WindMain = base.serializedObject.FindProperty("m_WindMain");
this.m_WindTurbulence = base.serializedObject.FindProperty("m_WindTurbulence");
this.m_WindPulseMagnitude = base.serializedObject.FindProperty("m_WindPulseMagnitude");
this.m_WindPulseFrequency = base.serializedObject.FindProperty("m_WindPulseFrequency");
this.m_ShowRadius.value = !this.m_Mode.hasMultipleDifferentValues && (this.m_Mode.intValue == 1);
this.m_ShowRadius.valueChanged.AddListener(new UnityAction(this.Repaint));
}