private void LogicBrushParamsChanged(object sender, EventArgs e) // 笔刷参数改变 { this.sliderBrushRadius.Text = this.sliderBrushRadius.Value.ToString(); this.sliderDisplayWidth.Text = this.sliderDisplayWidth.Value.ToString(); this.sliderBrushHeight.Text = this.sliderBrushHeight.Value.ToString(); int brushradius = this.sliderBrushRadius.Value; int brushtype = this.radioRect.Checked ? 1 : 0; int displaywidth = this.sliderDisplayWidth.Value; int brushheight = this.sliderBrushHeight.Value; SceneSceneEditor.SetLogicBrushParams(brushradius, brushtype, displaywidth, brushheight); }