I know that the render script receives messages when the window is resized, but I require the current screen size inside a game object script.
Is there any way to retrieve the current screen size from a game object script?
I need this so that I can accurately transform the mouse position to a position in the game world