private void UpdateColor(Color color) { currentColor = new Color3b(color.R, color.G, color.B); line.SetColor(color); if (arrowLine1 != null) { arrowLine1.SetColor(color); arrowLine2.SetColor(color); } }
private void UpdateColor(Color3b color) { currentColor = color; line.SetColor(color); if(arrowLine1!=null) { arrowLine1.SetColor(color); arrowLine2.SetColor(color); } }
public void SetColor(Color3b c3b) { Color color = new Color(c3b.red, c3b.green, c3b.blue); SetColor(color); }
private void UpdateColor(Color3b c3b) { currentColor = c3b; circle.SetColor3b(c3b); }
public void SetColor3b(Color3b c3b) { color.B = c3b.blue; color.G = c3b.green; color.R = c3b.red; }