hii ,
I am making a 2D game for mobiles. I want my character to teleport back into the play area if he goes out side the camera bounds. I achieved this with colliders. But this doesn’t work properly as the phones have different aspect ratios. I want help figuring out 2 things :
- How do check if an object goes outside the camera rect
- How to do you place gameobjects so that it will be placed along the camera rect edges.
Please help guys…