<commit_before>﻿using UnityEngine;
using System.Collections;

public class HUD : MonoBehaviour {
	private int frameCount = 0;
	private float dt = 0.0F;
	private float fps = 0.0F;
	private float updateRate = 4.0F;

	void Start () {

	}

	void Update () {
		frameCount++;
		dt += Time.deltaTime;
		if (dt > 1.0F / updateRate) {
			fps = frameCount / dt ;
			frameCount = 0;
			dt -= 1.0F / updateRate;
		}
	}

	void OnGUI () {
		GUI.Label(new Rect (10,10,150,100), "Current FPS: "+ ((int)fps).ToString());
	}
}<commit_msg>Add basic crosshair<commit_after>﻿using UnityEngine;
using System.Collections;

public class HUD : MonoBehaviour {
	private int frameCount = 0;
	private float dt = 0.0F;
	private float fps = 0.0F;
	private float updateRate = 4.0F;

	void Start () {

	}

	void Update () {
		frameCount++;
		dt += Time.deltaTime;
		if (dt > 1.0F / updateRate) {
			fps = frameCount / dt ;
			frameCount = 0;
			dt -= 1.0F / updateRate;
		}
	}

	void OnGUI () {
		GUI.Label(new Rect (10,10,150,100), "Current FPS: "+ ((int)fps).ToString());
		GUI.Box(new Rect(Screen.width / 2, Screen.height / 2, 0, 0), "This is a crosshair");
	}
}
{'fraction_non_alphanumeric': 0.15180935569285084, 'fraction_numerical': 0.04236540158870256, 'mean_word_length': 3.1538461538461537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3997669', 'n_tokens_mistral': 493, 'n_tokens_neox': 426, 'n_words': 115}