In Monodevelop the ‘rect’ in camera.rect is highlighted in red.
Why?
I cannot find any reference to this data member of class Camera being depreciated.
public class Camera : McCormickMonoBehaviourBase
{
// Use this for initialization
protected override void DoStart()
{
Camera cam = GetComponent<Camera> ();
Rect rect;
rect = cam.rect;
}
}