By default, the Unity engine runs with an uncapped framerate. This can have a negative impact on CPU resource utilisation. You can limit the frame rate by using the following (using the target variable to set your desired target frame rate):
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TargetFPS : MonoBehaviour
{
public int target = 60;
void Awake()
{
QualitySettings.vSyncCount = 0;
Application.targetFrameRate = target;
}
void Update()
{
if (Application.targetFrameRate != target)
Application.targetFrameRate = target;
}
}