unity camera width world space code example
Example: unity camera width world space
float height = camera.orthographicSize * 2; float width = height * camera.aspect;
float height = camera.orthographicSize * 2; float width = height * camera.aspect;