TexturePainter.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
	void Update () {
		brushColor = ColorPicker.GetColor ();	//Updates our painted color with the selected color
		if (Input.GetMouseButton(0)) {
			DoAction();
		}
		UpdateBrushCursor ();
	}