Example #1
0
 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);
     }
 }        
Example #2
0
 private void UpdateColor(Color3b color)
 {
     currentColor = color;
     line.SetColor(color);
     if(arrowLine1!=null)
     {
         arrowLine1.SetColor(color);
         arrowLine2.SetColor(color);
     }
 }
Example #3
0
 public void SetColor(Color3b c3b)
 {
     Color color = new Color(c3b.red, c3b.green, c3b.blue);
     SetColor(color);
 }
Example #4
0
 private void UpdateColor(Color3b c3b)
 {
     currentColor = c3b;
     circle.SetColor3b(c3b);
 }
Example #5
0
 public void SetColor3b(Color3b c3b)
 {
     color.B = c3b.blue;
     color.G = c3b.green;
     color.R = c3b.red;
 }