public static void OpenWindow()
 {
     if (_window_obj != null)
     {
         _window_obj.Focus();
     }
     else
     {
         _window_obj = GetWindow <SharpDefineReadWriteWindow>("宏定义设置");
     }
 }
        private void OnDestroy()
        {
            _window_obj = null;

            if (mBaseCfg != null)
            {
                //var ser_conf = new SerializedObject(mBaseCfg);
                //ser_conf.
                //ser_conf.ApplyModifiedProperties();
                EditorUtility.SetDirty(mBaseCfg);
                AssetDatabase.SaveAssets();
                AssetDatabase.Refresh();
            }

            //mBaseCfg.
        }