You can easily prepare multiple layouts for different screen sizes and aspect ratios and switch between them as you wish. It takes only 4 easy Steps:
Prepare your Layout as usual, add UI-Objects, move them around, etc. until you are finished
Hit the save Button
Start with a new Layout
You are ready to go! Switch, Update, Load the different Layouts
LazyLayout works inside the Unity Editor as well as during the runtime of your game.
This custom Inspector is your main HUB while working with LazyLayout. Here you can save layouts, update or delete them and change to already saved ones.
FEATURES:
Manage all important Unity-UI-Elements you need (RectTransforms, Images/RawImages, Texts, Buttons, Toggles, Sliders, Scrollbars, ScrollRects, InputFields, Vertical- ,Horizontal- and Grid-Layout-Groups, LayoutElements, Content- and AspectRatio-Fitters, Shadows and Outlines)
Switch between different Layouts on-the-fly inside the Unity-Editor for a faster workflow!
Work with the same objects for different layouts → No need to create the same GUI-Elements over and over again!
Even “layout-unique” objects are supported! Maybe you want to see a certain image only on smartphones but not on tablets => No problem!
And even more…and more to come!
Especially if you are developing for mobile platforms it is hard to support all the different screen sizes and aspect ratios. LazyLayout can help you with that!
Video-Overview
(Pleaese excuse my English everyone, since I’m not a native speaker)
LazyLayout will be in the Asset Store soon. It would be great if you guys would give me some feedback, ideas or other comments for my plugin.
Thank you and see you soon!
It looks good! Similar concept to something I am working on currently. Do you have any documentation for this? And how are you saving the data for each layout?
Thank you!
Saving all the data was not quite as easy as I thought in the beginning. Unity only references to the same object, even if you create a new one (image, text or button for example). I had to think of my own solution which took a while until it worked :-/
Documentation will be included in the package once the plugin is in the Asset Store
Thanks for the info! One last question. If I was to use this, how does the system work out which layout to use at runtime? Is it based on aspect ratio, and it finds the closest aspect ratio it can and uses that layout?
LazyLayout is not only based on the device aspect ratio but handles the current physical screen size too. In the past I’ve noticed that relying only on aspect ratios you are getting problems especially on smartphones, or if you are developing a game for more than one platform.
So in short: LazyLayout works with both aspect ratio and the current screen size. At runtime these values are determined and used to specify which layout should be used.
Hey guys! =)
Unfortunately LazyLayout got declined today because I made a stupid mistake with the documentations file format. I will resubmit it as soon as possible and will let you guys know when its finally there.
I am very sorry for the delay, it seems lazy layout takes more time to review than I thought it would. Unfortunately it got rejected again today…because of two little warning-messages
I also didn’t know that the asset store requirements for coding-plugins are so strict. But I resubmitted it again and all I can do now is thank you guys once again for your patience and your interest!
Hi mimminito!
Unfortunately I had to cut down the documentation because of the problems mention in post #11 :-/
I had to reduce it to one ReadMe and one “Quick Start” file.
Nevertheless these two documents should be all you need to start working with LazyLayout because the overall principal of the plugin is held very simple.