Good day! Just wanted to share with you, I worked out a way to choose level by scrolling the widgets. It's maybe not the most convinient way but it seems to work and I deleted the Combo box.
What I did at BeginPlay was to:
1. Initialize a start level by int and do the scroll offset times image width, which sets the level widget in focus.
2. At the same time am also setting a current level scroll int variable.
3 From that current level scroll am getting the matching string from LevelOption array and set it to name var that will load the map, when play btn is pressed.
Then am just adding or subtracting 1 and set it to "current level scroll" when setting the scroll offset.
What I did at BeginPlay was to:
1. Initialize a start level by int and do the scroll offset times image width, which sets the level widget in focus.
2. At the same time am also setting a current level scroll int variable.
3 From that current level scroll am getting the matching string from LevelOption array and set it to name var that will load the map, when play btn is pressed.
Then am just adding or subtracting 1 and set it to "current level scroll" when setting the scroll offset.
Comment