Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to do responsive design

$
0
0
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.

Code (JavaScript):
  1. Create centered row, anchor to SCREEN.BOTTOM
  2.   Create...
How to do responsive design

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>