AdMob will display ads in unity at the game facility

I use AdMob to serve ads in my game. However, the ad position is 2d on screen only. I have a billboard in my game and I really want to display an advertisement on a billboard inside the screen. How can i do this?

+3


source to share


1 answer


To map a point of the world to a screen point, you can use this: http://docs.unity3d.com/ScriptReference/Camera.WorldToScreenPoint.html . With a few calculations, you can find the measurement and position of your world object in the scene. However, I do not think that ads can be sorted or placed freely to suit any of your needs. Lately I've been working with admob possible ad placements where ex: top-right / bottom right etc. are predefined.



+1


source







All Articles