- Home /
Question by
thousandcranes · Jul 29, 2017 at 09:16 PM ·
renderingspawnresolutionrendererobjects
How to spawn an object so it picture is fully visible on the screen?
I'd like to spawn a gameobject with a picture, so i generate random coordinates: transform.position = new Vector2(Random.Range(-width + 5, width - 5), 6); But some objects are spawned on the edges of the screen and are not 100% visible. How do i spawn objects to be fully visible no matter the resolution?
Comment
Your answer
Follow this Question
Related Questions
Rendering an object multiple times 3 Answers
[Solved] Object Flickering When Camera Moves Around 6 Answers
Rendering Issue with Render Texture 1 Answer
Adding renderers to script? 0 Answers