circular slider/knob questions

Hi,

I’ve been following this tutorial and have the knob working and it looks nice - Creating a Circular Progressbar / Timer - Questions & Answers - Unity Discussions

However, there are a couple of things I’m struggling to make it do.

  1. Be able to change the colour of the green image (that shows the moving bar). This seems fixed, because it’s using a shader embedded image?
  2. Move the orientation of the shader, so that it starts/ends at the bottom, rather than the top. The shader only seems to go from top to bottom :confused:

Would be grateful for any pointers as to how to achieve these.

Cheers

I figured this out myself

  1. Change the original image colour to white. Then if you change the color with " gameObject.GetComponent().material.color = Color.red;" it will change to the desired color.

  2. Just move the z parameter of the rect transform to rotate it