Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResetAspect()

Revert the aspect ratio to the screen's aspect ratio.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void ResetAspect()

Remarks

Call this to end the effect of setting Camera.aspect.