private void OnEnable()
{
this.m_Type = base.serializedObject.FindProperty("m_Type");
this.m_Range = base.serializedObject.FindProperty("m_Range");
this.m_SpotAngle = base.serializedObject.FindProperty("m_SpotAngle");
this.m_CookieSize = base.serializedObject.FindProperty("m_CookieSize");
this.m_Color = base.serializedObject.FindProperty("m_Color");
this.m_Intensity = base.serializedObject.FindProperty("m_Intensity");
this.m_BounceIntensity = base.serializedObject.FindProperty("m_BounceIntensity");
this.m_Cookie = base.serializedObject.FindProperty("m_Cookie");
this.m_ShadowsType = base.serializedObject.FindProperty("m_Shadows.m_Type");
this.m_ShadowsStrength = base.serializedObject.FindProperty("m_Shadows.m_Strength");
this.m_ShadowsResolution = base.serializedObject.FindProperty("m_Shadows.m_Resolution");
this.m_ShadowsBias = base.serializedObject.FindProperty("m_Shadows.m_Bias");
this.m_ShadowsNormalBias = base.serializedObject.FindProperty("m_Shadows.m_NormalBias");
this.m_ShadowsNearPlane = base.serializedObject.FindProperty("m_Shadows.m_NearPlane");
this.m_Halo = base.serializedObject.FindProperty("m_DrawHalo");
this.m_Flare = base.serializedObject.FindProperty("m_Flare");
this.m_RenderMode = base.serializedObject.FindProperty("m_RenderMode");
this.m_CullingMask = base.serializedObject.FindProperty("m_CullingMask");
this.m_Lightmapping = base.serializedObject.FindProperty("m_Lightmapping");
this.m_AreaSizeX = base.serializedObject.FindProperty("m_AreaSize.x");
this.m_AreaSizeY = base.serializedObject.FindProperty("m_AreaSize.y");
this.m_BakedShadowRadius = base.serializedObject.FindProperty("m_ShadowRadius");
this.m_BakedShadowAngle = base.serializedObject.FindProperty("m_ShadowAngle");
this.UpdateShowOptions(true);
}