In the project window, drag the UI prefab located in the Resources folder into the Hierarchy window.
In the Hierarchy window go to UI/Canvas. In the Canvas you can find all the interfaces from the game. Select the ‘LevelSelectionScrn’.
In the Inspector window you can now see a component called UI Level Selection (script). Click on ‘Level Data’ to expand the dropdown. Here you can add new levels (right click) and assign a level image and scene to the list. The next time this screen loads this data will be loaded in the interface.
In the inspector press the ‘Apply button to save your changes.
Also don’t forget to add the levels that you want to load to the Build settings of your game.