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

public class Shooter : MonoBehaviour {
	private Camera _camera;

	// Use this for initialization
	void Start () {
		_camera = GetComponent<Camera> ();
	}
	
	// Update is called once per frame
	void Update () {
		if (Input.GetMouseButtonDown(0)) {
			var point = new Vector3(_camera.pixelWidth / 2, 
			                        _camera.pixelHeight / 2,
			                        0);
			var ray = _camera.ScreenPointToRay(point);
			RaycastHit hit;
			if (Physics.Raycast(ray, out hit)) {
				StartCoroutine(SphereIndicator(hit.point));
			}
		}
	}

	private IEnumerator SphereIndicator(Vector3 pos) {
		var sphere = GameObject.CreatePrimitive (PrimitiveType.Sphere);
		sphere.transform.position = pos;

		yield return new WaitForSeconds (1);

		Destroy (sphere);
	}
}
<commit_msg>Add to the HUD<commit_after>﻿using UnityEngine;
using System.Collections;

public class Shooter : MonoBehaviour {
	private Camera _camera;

	// Use this for initialization
	void Start () {
		_camera = GetComponent<Camera> ();
		Cursor.lockState = CursorLockMode.Locked;
		Cursor.visible = false;
	}
	
	// Update is called once per frame
	void Update () {
		if (Input.GetMouseButtonDown(0)) {
			var point = new Vector3(_camera.pixelWidth / 2, 
			                        _camera.pixelHeight / 2,
			                        0);
			var ray = _camera.ScreenPointToRay(point);
			RaycastHit hit;
			if (Physics.Raycast(ray, out hit)) {
				StartCoroutine(SphereIndicator(hit.point));
			}
		}
	}

	void OnGUI() {
		int size = 12;
		float posX = _camera.pixelWidth / 2 - size / 4;
		float posY = _camera.pixelHeight / 2 - size / 2;
		GUI.Label (new Rect (posX, posY, size, size), "*");
	}

	private IEnumerator SphereIndicator(Vector3 pos) {
		var sphere = GameObject.CreatePrimitive (PrimitiveType.Sphere);
		sphere.transform.position = pos;

		yield return new WaitForSeconds (1);

		Destroy (sphere);
	}
}

{'fraction_non_alphanumeric': 0.10796915167095116, 'fraction_numerical': 0.010282776349614395, 'mean_word_length': 2.947261663286004, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6153659', 'n_tokens_mistral': 694, 'n_tokens_neox': 613, 'n_words': 159}