- Home /
Camera.main.pixel incorrectly return scene view's size in OnDrawGizmos
I want draw some gizmos base on the camera pixelWidth and pixelHeight.
But in the OnDrawGizmos Camera.main.pixel :
incorrectly return scene view's size
not game view's size.
Is it a bug or any way to do it? Im using Unity Pro 3.5.7
Comment
I have come across this problem. There's a question on here about it with a good discussion, but I can't find it...
Your answer
Follow this Question
Related Questions
Drawing Handles 1 Answer
Camera Zoom in Scene View 1 Answer
Scene View camera clipping 1 Answer