<commit_before>﻿using UnityEngine;
using UnityEngine.UI;
public class GunBehavior : MonoBehaviour {

    public float fireRate = 0.0f;
    public float heat = 0.0f;
    public string weaponName;
    public Slider charge;

    public float nextFire = 0.0f;
    public float heatBuildUp = 0.0f;

    private Slider slider;
    private SliderController sliderScript;

    public GunBehavior(string newWeaponName, float newFireRate, float newHeat) {
        weaponName = newWeaponName;
        fireRate = newFireRate;
        heat = newHeat;
    }

    void Start() {
        GameObject canvas = GameObject.Find("CanvasRenderer");
        VerticalLayoutGroup sliderLayouGroup = canvas.GetComponent<VerticalLayoutGroup>();

        GameObject sliderObject = Instantiate(Resources.Load("GunCooldownSlider"), sliderLayouGroup.transform) as GameObject;
        slider = sliderObject.GetComponent<Slider>();
        sliderScript = slider.GetComponent<SliderController>();
    }
<commit_msg>Remove unused constructor<commit_after>﻿using UnityEngine;
using UnityEngine.UI;
public class GunBehavior : MonoBehaviour {

    public float fireRate = 0.0f;
    public float heat = 0.0f;
    public string weaponName;
    public Slider charge;

    public float nextFire = 0.0f;
    public float heatBuildUp = 0.0f;

    private Slider slider;
    private SliderController sliderScript;

    void Start() {
        GameObject canvas = GameObject.Find("CanvasRenderer");
        VerticalLayoutGroup sliderLayouGroup = canvas.GetComponent<VerticalLayoutGroup>();

        GameObject sliderObject = Instantiate(Resources.Load("GunCooldownSlider"), sliderLayouGroup.transform) as GameObject;
        slider = sliderObject.GetComponent<Slider>();
        sliderScript = slider.GetComponent<SliderController>();
    }

{'fraction_non_alphanumeric': 0.08249721293199554, 'fraction_numerical': 0.008918617614269788, 'mean_word_length': 3.723684210526316, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7194058', 'n_tokens_mistral': 515, 'n_tokens_neox': 478, 'n_words': 123}