function ResetAspect () : void
Description
Revert the aspect ratio to the screen's aspect ratio.
Call this to end the effect of setting aspect.
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
camera.ResetAspect();
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
camera.ResetAspect()