15 lines
249 B
C#
15 lines
249 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class FpsController : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
int targetFps;
|
|
|
|
void Start()
|
|
{
|
|
Application.targetFrameRate = targetFps;
|
|
}
|
|
}
|