Camera.ResetAspect

function ResetAspect () : void

Description

Revert the aspect ratio to the screen's aspect ratio.

Call this to end the effect of setting aspect.

JavaScript
camera.ResetAspect();

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
camera.ResetAspect();
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
camera.ResetAspect()