15 lines
309 B
C#
15 lines
309 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
public class FrameRateManager : MonoBehaviour
|
|||
|
{
|
|||
|
public float globalFrameRate = 100f; // <20><><EFBFBD>õ<EFBFBD>Ŀ<EFBFBD><C4BF>֡<EFBFBD><D6A1>
|
|||
|
|
|||
|
void Start()
|
|||
|
{
|
|||
|
Application.targetFrameRate = Mathf.RoundToInt(globalFrameRate); // <20><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>֡<EFBFBD><D6A1>
|
|||
|
}
|
|||
|
}
|
|||
|
|