- Home /
Question by
truthuntold · Sep 19, 2012 at 02:49 PM ·
positionscreenviewviewport
Setting gameobject position by a percentage of screen
I am having trouble finding a way to set a gameobject's position with regards to the screen size. I am building a 2d game that I will be putting on iPhone, iPad, and Android. I need to be able to set the object's position to a percent of the view.
Comment
Answer by LastTemplar · Sep 19, 2012 at 06:21 PM
Try some of these methods: this one and this one
Generally, just look at the Camera functions in here , you could find something useful.