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

public class JudgementDisplay : MonoBehaviour {
	float timer;
	GamePlayer status;
	TextMesh tm;
	Color c;
	// Use this for initialization
	void Start () {
		status = GameObject.Find ("GamePlayer").GetComponent ("GamePlayer") as GamePlayer;
		tm = gameObject.GetComponent<TextMesh> ();
		c = new Color(tm.color.r, tm.color.g, tm.color.b, 0);
		timer = 1f;
	}
	
	// Update is called once per frame
	void Update () {
		if (status.pause)
			return;

		if (timer > 0.8f) {
			c.a += Time.deltaTime * 5;
			tm.color = c;
		}

		if (timer < 0.4f) {
			c.a -= Time.deltaTime * 3f;
			tm.color = c;
		}

<commit_msg>better judgement display<commit_after>﻿using UnityEngine;
using System.Collections;

public class JudgementDisplay : MonoBehaviour {
	float timer;
	GamePlayer status;
	TextMesh tm;
	Color c;
	// Use this for initialization
	void Start () {
		status = GameObject.Find ("GamePlayer").GetComponent ("GamePlayer") as GamePlayer;
		tm = gameObject.GetComponent<TextMesh> ();
		c = new Color(tm.color.r, tm.color.g, tm.color.b, 0);
		timer = 1f;
	}
	
	// Update is called once per frame
	void Update () {
		if (status.pause)
			return;

		if (timer > 0.9f) {
			c.a += Time.deltaTime * 10;
			tm.color = c;
		}

		if (timer < 0.4f) {
			c.a -= Time.deltaTime * 3f;
			tm.color = c;
		}


{'fraction_non_alphanumeric': 0.1362962962962963, 'fraction_numerical': 0.012592592592592593, 'mean_word_length': 3.106382978723404, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4325192', 'n_tokens_mistral': 548, 'n_tokens_neox': 489, 'n_words': 132}