12 lines
171 B
C#
12 lines
171 B
C#
using UnityEngine;
|
|
|
|
public class FrameRateManager : MonoBehaviour
|
|
{
|
|
public int FrameRate = 60;
|
|
|
|
private void Update()
|
|
{
|
|
Application.targetFrameRate = FrameRate;
|
|
}
|
|
}
|