I am making a 2D game in Unity 2018. I was making it using the Unity UI system because I can put everything on a Canvas and then set the Canvas to scale based on the width. This way it was easy to get my backgrounds to always look just the way I want them.
The down side to this is now I want to use some game assets that are made to interact with the Unity 2D stuff like sprites and game objects. I know Unity UI elements are also game objects, but the transforms and everything are not working right because they are UI elements instead of actual game objects.
So my question is is there a way to get the same kind of scaling in Unity 2D with backgrounds and sprites that you can get in the UI using a Canvas?
I would prefer something that is “built in” like the Canvas instead of someone’s home grown script. Often those home grown scripts work well in some situations, but not others.
Unless that script is a very well known and supported way of doing what I am trying to do.
Thank you.