public override void OnInspectorGUI() { base.OnInspectorGUI(); if (GUILayout.Button("生成Mesh")) { mapEditor.GenerateMesh(); } }