public override void OnInspectorGUI()
{
serializedObject.Update();
m_CurveEditor.CheckCurveChangedExternally();
m_CurveEditor.OnInspectorGUI();
EditorGUILayout.PropertyField(m_Time);
EditorGUILayout.PropertyField(m_MinVertexDistance);
EditorGUILayout.PropertyField(m_Autodestruct);
EditorGUILayout.PropertyField(m_Emitting);
EditorGUILayout.PropertyField(m_ColorGradient, Styles.colorGradient);
EditorGUILayout.PropertyField(m_NumCornerVertices, Styles.numCornerVertices);
EditorGUILayout.PropertyField(m_NumCapVertices, Styles.numCapVertices);
EditorGUILayout.PropertyField(m_Alignment, Styles.alignment);
EditorGUILayout.PropertyField(m_TextureMode, Styles.textureMode);
EditorGUILayout.PropertyField(m_GenerateLightingData, Styles.generateLightingData);
EditorGUILayout.PropertyField(m_ShadowBias, Styles.shadowBias);
DrawMaterials();
LightingSettingsGUI(false);
OtherSettingsGUI(true, false, true);
serializedObject.ApplyModifiedProperties();
}