I have a map in my game the user can interact with. I am using Unity UGUI ScrollRect
to let the user move the map on the screen. Only one area of the map is visible at a time and you can scroll it to get to the desired level (just like in King games). The content of this map system is an Image
and level buttons which are all children of the map image.
I want my ScrollRect
to point to the current active level when the map loads. For example, if I am on level 30 then on loading the map level the content of the ScrollRect
should be on the portion of the map where level 30 is.
I can't find anything regarding managing ScrollRect
's content position