アスペクト比をスクリーンのアスペクト比に戻します。
aspect 設定のエフェクトを終了させるために呼び出します。
camera.ResetAspect();
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { camera.ResetAspect(); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: camera.ResetAspect()