Hello. I built a project with images instead of panels for my project, but I need to use panels instead. Is there any way to replace existing components in my scenes ui hierarchy with simliar ones like replace and image with a panel and keep its old specifications and children elements?
I had to double check, but other then some settings, a panel and an image are the same thing. They just have a few settings that are different. You could easily convert your images into the “panel” settings if you wanted to. Otherwise, UI is just a gameobject with components on it. Nothing really special. You can create an empty gameobject and add a button component to it and you have a button.
1 Like
Below is a side-by-side comparison of a new Image and a new Panel. Like @Brathnann mentioned the differences are very minor and are almost entirely contained within the Rect Transform. Altering the anchors will likely be all you need to do to make your UI object behave in the way you want it to.
Oh thanks