Changing Level Color

I made the level change color after a certain distance this is controlled by the PaletteController, it takes in preset colors in the inspector. the code for switching between them after a certain distance is below, the background object is what changes the color. Here it gets a reference to the SpriteRenderer for all sectionsContinue reading “Changing Level Color”