public override void OnInspectorGUI()
    {
        base.DrawDefaultInspector();
        MeshEditor.width  = EditorGUILayout.IntField("Width", MeshEditor.width);
        MeshEditor.height = EditorGUILayout.IntField("Height", MeshEditor.height);
        EditorGUILayout.FloatField("HeightMax", MeshEditor.heightMax);
        EditorGUILayout.LabelField("", GUI.skin.horizontalSlider);
        Color colorBuf = GUI.color;

        GUI.color = mInstance.drawBegin ? Color.red : colorBuf;
        if (GUILayout.Button("Edit", GUILayout.Height(48)))
        {
            mInstance.drawBegin = !mInstance.drawBegin;
        }
        GUI.color = colorBuf;

        if (GUILayout.Button("Render", GUILayout.Height(48)))
        {
            mInstance.Fresh();
        }
        if (GUILayout.Button("RebuldPlane", GUILayout.Height(48)))
        {
            mInstance.RebuldPlane();
        }
        if (GUILayout.Button("ClearMesh", GUILayout.Height(48)))
        {
            mInstance.ClearMesh();
        }
        if (GUILayout.Button("Load", GUILayout.Height(48)))
        {
            string addr = EditorUtility.OpenFilePanel("Load", Application.dataPath + @"/Assets/texture", "png");
            if (addr.Length > 0)
            {
                mInstance.Load(addr);
            }
        }
        if (GUILayout.Button("Save", GUILayout.Height(48)))
        {
            string addr = EditorUtility.SaveFilePanel("Save", Application.dataPath + @"/Assets/texture", "terrian1", "png");
            if (addr.Length > 0)
            {
                mInstance.Export(addr);
                AssetDatabase.Refresh();
            }
        }
    }