Hey guys, so I am making a little text based game and I have multiple FSM attached to game objects and each gameobject acts as its own scene. Now what its suppose to do is once the player finishes one scene (GameObject) it switches to another one and back and forth depending on where the player is going and everytime a new scene is changed it is suppose to change the background accordingly. For example if the player enters a city it shows the city background if the player enters the forest it shows the forest background so on and so forth. The way I have this setup is in the Camera FSM I have each background image on its on state using Draw Texture action, with a global event that is called by the scene GO's. and so far that works the way its suppose to but the problem I am having is the background images are not staying in the background, they are overlaying on top of all my other images and assets such as text.. So the question I am asking is is there a way to force the draw texture action to show the bg images behind all the other images and assets, like a send to back sort of function?
I attempted to have the background image loaded on each gameobject but it only worked when I had draw texture action on each and every State in the FSM, which would be very tedious and intensive.
Or maybe someone has some ideas on a better way to do this?
Thanks in advance!