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

namespace WhoaAlgebraic
{
    public class ScoreManager : MonoBehaviour
    {
        public static int score;        // The player's score.


        Text text;                      // Reference to the Text component.


        void Awake()
        {
            // Set up the reference.
            text = GetComponent<Text>();

            // Reset the score.
            score = 0;
        }


        void Update()
        {
            // Set the displayed text to be the word "Score" followed by the score value.
            text.text = "Score: " + score;
        }
    }
}<commit_msg>Update score manager to use UI's text<commit_after>﻿using UnityEngine;
using UnityEngine.UI;

namespace WhoaAlgebraic
{
    public class ScoreManager : MonoBehaviour
    {
        public static int score;        // The player's score.


        public Text text;                      // Reference to the Text component.


        void Awake()
        {
            // Reset the score.
            score = 0;
        }


        void Update()
        {
            // Set the displayed text to be the word "Score" followed by the score value.
            text.text = "Score: " + score;
        }
    }
}
{'fraction_non_alphanumeric': 0.081377151799687, 'fraction_numerical': 0.001564945226917058, 'mean_word_length': 1.4361904761904762, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6412970', 'n_tokens_mistral': 338, 'n_tokens_neox': 318, 'n_words': 115}