public override void OnInspectorGUI() { GUILayout.BeginHorizontal(); if (GUILayout.Button("清空")) { Debug.Log("clear"); voxel.clear(); } GUILayout.EndHorizontal(); //DrawDefaultInspector(); //SceneView.RepaintAll(); }