- 윈도우에서 경로 설정 노출 팝업창 기능을 사용하기 위해 Project Settings > Other Settings > Configuration > Api Compatibility Level = .Net Framework로 변
14 lines
206 B
C#
14 lines
206 B
C#
using UnityEngine;
|
|
|
|
public class FrameCounter : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
[Range(0, 120)]
|
|
int frame = 60;
|
|
|
|
void Start()
|
|
{
|
|
Application.targetFrameRate = frame;
|
|
}
|
|
}
|