public override void OnInspectorGUI() { base.OnInspectorGUI(); if (GUILayout.Button("生成体素")) { m_volume.GenerateVoxelGrid(); } if (GUILayout.Button("计算边界")) { m_volume.CalculateBound(); } if (GUILayout.Button("显示Gizmos")) { m_volume.ToggleGizmoToDraw(); } }