15 lines
310 B
C#
15 lines
310 B
C#
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
namespace LeTai.Asset.TranslucentImage.Demo
|
|||
|
|
{
|
|||
|
|
public class UnrestrictFramerate : MonoBehaviour
|
|||
|
|
{
|
|||
|
|
// Start is called before the first frame update
|
|||
|
|
void Start()
|
|||
|
|
{
|
|||
|
|
// Debug.Log(Application.targetFrameRate.ToString());
|
|||
|
|
Application.targetFrameRate = 120;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|