blob: d0a7f5431d8586428d9662c55b1975fb45996222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
using UnityEngine;
public class LimitDeltaTime : MonoBehaviour
{
public float maxDeltaTimeInMs = 16f;
private void Start()
{
Time.maximumDeltaTime = maxDeltaTimeInMs / 1000f;
}
}
|