Hi!
I have a Slider built from UISlider and different types of Sprites(see attachment for picture).
The left and right side(1 and 4) is made of simple sprites. Between them, the body of the slider is a tiled sprite which is tiled from the part numbered 3. The slider foreground is also a tiled sprite from the part numbered 2. A custom-made script manages the size of the middle part depending on a certain container size so the slider won't grow bigger than that.
My issue is: If I scale the middle part of the slider in runtime, making the clickable area smaller or bigger, the UISlider script won't keep up with the changes and its collider will be out of sync.
Any ideas to fix this?