Created
September 26, 2017 04:00
-
-
Save tylerlindell/aa4f4c1a126c1fffcba7ba83fb88fc3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class TargetFrameRate : MonoBehaviour{ | |
void Awake() | |
{ | |
//frame jacking so we can traing through as many generations as possible very fast | |
Application.targetFrameRate = 300; | |
QualitySettings.vSyncCount = 0; | |
} | |
// Update is called once per frame | |
void Update () { | |
//frame jacking so we can traing through as many generations as possible very fast | |
Application.targetFrameRate = 300; | |
QualitySettings.vSyncCount = 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment