- Home /
Question by
chainylol · Oct 31, 2017 at 07:46 PM ·
2dimagelayersbackground
Animated background in multiple scenes
Hi, i have a canvas with a raw image attached. The image has an animation, that changes its color over time. This works fine, but what i want is for it to keep going even when i change scene. I tried "DontDestroyOnLoad", but what happens then is that even though it exists in the scene and runs its animation, it does not show up in the game. It instead runs behind what can be seen by the player. I think this is because it is placed too low in the hierarchy. How do i solve this?
Here is a screenshot of the canvas that has the animated image as a child: https://gyazo.com/68d01f420b11ffb92f45e9b552b8c5a6
Comment