My object has the Cin machine pixel perfect component added to it
I have a pretty simple zooming script here. When the user zooms in/out change the orthographic size
mapVirtualCamera.m_Lens.OrthographicSize = newOrtho;
cameraBrain.ManualUpdate();
however, if the new OrthographicSize is not pixel perfect, when you update the camera, the camera will not switch to the new orthographicSize as expected.
How can I get the next pixel perfect orthographicSize?
I know I can use a loop and then check if the main camera orthographicSize changes, but that would require multiple manual updates which I rather not do.