public override void OnInspectorGUI ()
{
NGUIEditorTools.SetLabelWidth(80f);
EditorGUILayout.Space();
serializedObject.Update();
EditorGUI.BeginDisabledGroup(!ShouldDrawProperties());
DrawCustomProperties();
EditorGUI.EndDisabledGroup();
DrawFinalProperties();
serializedObject.ApplyModifiedProperties();
}