Are there any examples of creating responsive GUI screens that allow controls (such as buttons) to be placed relative to other controls or the edges of the screen (the following is a nominal example)?
View attachment 115757
I know that rectangles can be created with coordinates relative to the screen size but I'd like to know if there's any way to do something like the following pseudocode, preferably in UnityScript.
How to do responsive design
View attachment 115757
I know that rectangles can be created with coordinates relative to the screen size but I'd like to know if there's any way to do something like the following pseudocode, preferably in UnityScript.
Code (JavaScript):
- Create centered row, anchor to SCREEN.BOTTOM
- Create...