Is there a way to get the game view window size in code?
I have looked through the documentation for UnityEditor, GetWindow<>, and exhausted everything I can think of through the arduous try-everything-in-intellisense discovery method, with no results yet.
When I check Screen.width the width of the current inspector window comes out, not the actual width of the game view.
When I use Screen.currentResolution.width, I get the target build resolution, not the current view size.
Is this possible?
Thanks in advance