I calculating the Screen Width once in a game at Start function:
float height = 2 * Camera.main.orthographicSize;
SceneWidth = height * Camera.main.aspect;
Mainly I use this value to adjust my background system on Start and Update but anyway.
If I use this “Maximize on Play” button it seems that Start and the first Update call returns not maximized Width.
I need this value to be valid on start, can this be acheived?