SetBrushSize() 공개 메소드

public SetBrushSize ( float newBrushSize ) : void
newBrushSize float
리턴 void
예제 #1
0
 // Use this for initialization
 void Start()
 {
     sliderBrushSize = this.transform.Find("SliderBrushSize").GetComponent <Slider>();
     sliderBrushSize.onValueChanged.AddListener(
         (value) => { painter.SetBrushSize(value); }
         );
 }
예제 #2
0
 public void UpdateSizeSlider()
 {
     painter.SetBrushSize(sizeSlider.value);
 }
예제 #3
0
 public void onStart()
 {
     painter.SetBrushSize(sizeSlider.value * 10);
     painter.setVisualization(0);
     modes [0].Select();
 }