Answers for "unity pixel camera changes size"

C#
2

how to edit Camera.size property unity

//To edit the .size property in a orthographic camera you can use the 
//'orthographicSize' propery, like this

public Camera CameraObject;

private void Start()
    {
  		//Sets size
        CameraObject.orthographicSize = 3;
    }
Posted by: Guest on February-04-2021

C# Answers by Framework

Browse Popular Code Answers by Language