public void ChangeColor(Color c) { brush.BrushConfigColor(c); Material m = GetComponent <Renderer>().material; m.color = c; GetComponent <Renderer>().material = m; }
public void ChangeColor(Color c) { brush.BrushConfigColor(c); Material m = GetComponent <Renderer>().material; m.color = c; GetComponent <Renderer>().material = m; }