|
||||||||||||||||
|
||||||||||||||||
Camera.ResetAspect
function ResetAspect () : voidDescriptionRevert the aspect ratio to the screen's aspect ratio. Call this to end the effect of setting aspect.
JavaScripts
camera.ResetAspect();
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() |
|
|||||||||||||||