Skip to content

Instantly share code, notes, and snippets.

@tylerlindell
Created September 26, 2017 04:00
Show Gist options
  • Save tylerlindell/aa4f4c1a126c1fffcba7ba83fb88fc3f to your computer and use it in GitHub Desktop.
Save tylerlindell/aa4f4c1a126c1fffcba7ba83fb88fc3f to your computer and use it in GitHub Desktop.
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