Quantcast
Channel: Answers by "Rgalaxy"
Viewing all articles
Browse latest Browse all 16

Answer by Rgalaxy

$
0
0
i've trying to accomplish this.. i think its not `Screen.width/2 - 300` i try to find the math but i comes up with this to make it center of the screen.. new Rect(Screen.width-(Screen.width-300))/2 , Screen.height-(Screen.height-300))/2 , 600,600); this should makes the box which is 600x600 placed on the center of the screen. CMIIW..

Viewing all articles
Browse latest Browse all 16

Trending Articles



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