Hi guys ! I create this script to limit my frame rate at 50 FPS
using UnityEngine;
using System.Collections;
public class FrameRateScript : MonoBehaviour {
// Use this for initialization
void Awake ()
{
QualitySettings.vSyncCount = 0; // VSync must be disabled
Application.targetFrameRate = 50;
}
}
I attached this on my camera, but, when i play my game, in the stats i can see the FPS at 70, and my phone overheats, what are the problem ? Thank you guys !