- Home /
Is there an easy way to shift my whole game down?
I'm using the unity3d admob plugin (it has a prefab you just drop into scene) from here:
http://forum.unity3d.com/threads/167731-Free-Admob-plugin-simple-prefab
It works really well. But it overlays my game and I don't want my user to be distracted. Is there an easy way to shift the rendering of my whole scene down by 100px or something like that so the ad is rendered in front of blackness and not my actual game?
Comment
Best Answer
Answer by Cherno · May 19, 2014 at 01:53 AM
You can either add a black GUI Texture behind the add, or, as robertbu said, just change the camera viewport size, and add the desired y-offset to all GUI coordinates.
Thanks, this worked perfectly. Just changed Viewport Rect Y value to -0.1 and shifted down all my GUI events.