unity set camera resolution code example Example: unity change camera scale //change camera zoom Camera.main.orthographicSize = value