The plugin has two main functions. Converting a UI element’s size/position to Scale or Offset, and the auto scaling feature.
The Add Constraint feature makes use of the UIAspectRatioConstraint which ensures that your UI retains it’s size on all screen sizes. You can add this constraint to your UI manually but my plugin does the calculating of the AspectRatio property by dividing the AbsoluteSizes so you don’t have to!
How do I use it hmmmmm?
First, you need your GUI. Make sure it is in a ScreenGUI.
Second, select only the children of the ScreenGUI (not the descendants) and click the Add Constraint button.
This will add the constraint with the calculated AspectRatio property to the UI element, make sure you repeat step 2 for each child of the ScreenGUI. The descendants of the ScreenGUI will inherit the size of the parent so don’t go into each descendant and add a constraint to it.
Correct much smart
Let me know if you need any help!
(Make sure to leave a )
Want to support me and want more features? Check out AutoScale Plus