11 lines
180 B
C#
11 lines
180 B
C#
using UnityEngine;
|
|
|
|
public class FramerateManager : MonoBehaviour
|
|
{
|
|
private void Start()
|
|
{
|
|
Object.DontDestroyOnLoad(base.gameObject);
|
|
Application.targetFrameRate = 120;
|
|
}
|
|
}
|