Setup background
How to replace, add, assign, and test level-dependent backgrounds in Sweet Candy Sugar Match 3.
Last updated
How to replace, add, assign, and test level-dependent backgrounds in Sweet Candy Sugar Match 3.
Backgrounds are selected from the Pictures array in 20-level groups:
0
1–20
background_01
1
21–40
background_02
2
41–60
background_03
3
61–80
background_04
4
81–100
background_05
Files are stored in Assets/SweetSugar/Textures_png/Backgrounds. Use 2048 × 1536 PNGs (4:3).
Import the PNG into the backgrounds folder with the settings above.
Open Assets/SweetSugar/Scenes/game.unity, select Background, and update Background > Pictures.

If you want to use static map Open Assets/SweetSugar/Scenes/gameStatic.unity and copy the same sprite order to:
the gameplay Background component;
SafeArea/Background > Backgrounds For Static Map.
Save both scenes. To support another 20 levels, increase Size in every list and assign the new last element. Element 5 covers levels 101–120.
Last updated