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


public class CacheBehaviour : BaseBehaviour
{
	[HideInInspector, NonSerialized]
	protected     Animation animation;
	[HideInInspector, NonSerialized]
	protected     Animator animator;
	[HideInInspector, NonSerialized]
	protected new AudioSource audio;
	[HideInInspector, NonSerialized]
	protected new Camera camera;
	[HideInInspector, NonSerialized]
	protected new Collider2D collider2D;
	[HideInInspector, NonSerialized]
	protected new Light light;
	[HideInInspector, NonSerialized]
	protected new ParticleEmitter particleEmitter;
	[HideInInspector, NonSerialized]
	protected new ParticleSystem particleSystem;
	[HideInInspector, NonSerialized]
	protected new Rigidbody2D rigidbody2D;
	[HideInInspector, NonSerialized]
	protected new Renderer renderer;
	[HideInInspector, NonSerialized]
	protected     SpriteRenderer spriteRenderer;
	[HideInInspector, NonSerialized]
	protected new Transform transform;

	protected void CacheComponents()
	{
		transform = gameObject.transform;
		animation = gameObject.GetComponent<Animation>() as Animation;
		animator = gameObject.GetComponent<Animator>() as Animator;
		audio = gameObject.GetComponent<AudioSource>() as AudioSource;
		camera = gameObject.GetComponent<Camera>() as Camera;
		collider2D = gameObject.GetComponent<Collider2D>() as Collider2D;
		light = gameObject.GetComponent<Light>() as Light;
		particleEmitter = gameObject.GetComponent<ParticleEmitter>() as ParticleEmitter;
		particleSystem = gameObject.GetComponent<ParticleSystem>() as ParticleSystem;
		rigidbody2D = gameObject.GetComponent<Rigidbody2D>() as Rigidbody2D;
		renderer = gameObject.GetComponent<Renderer>() as Renderer;
		spriteRenderer = gameObject.GetComponent<SpriteRenderer>() as SpriteRenderer;
	}
}
<commit_msg>Additions to CacheBehaviour.<commit_after>﻿using UnityEngine;
using System;
using System.Collections;


public class CacheBehaviour : BaseBehaviour
{
	[HideInInspector, NonSerialized]
	protected new Animation animation;
	[HideInInspector, NonSerialized]
	protected new Animator animator;
	[HideInInspector, NonSerialized]
	protected new AudioSource audio;
	[HideInInspector, NonSerialized]
	protected new Camera camera;
	[HideInInspector, NonSerialized]
	protected new Collider2D collider2D;
	[HideInInspector, NonSerialized]
	protected new Light light;
	[HideInInspector, NonSerialized]
	protected new ParticleEmitter particleEmitter;
	[HideInInspector, NonSerialized]
	protected new ParticleSystem particleSystem;
	[HideInInspector, NonSerialized]
	protected new Rigidbody2D rigidbody2D;
	[HideInInspector, NonSerialized]
	protected new Renderer renderer;
	[HideInInspector, NonSerialized]
	protected new SpriteRenderer spriteRenderer;
	[HideInInspector, NonSerialized]
	protected new Transform transform;

	protected void CacheComponents()
	{
		transform = gameObject.transform;
		animation = gameObject.GetComponent<Animation>() as Animation;
		animator = gameObject.GetComponent<Animator>() as Animator;
		audio = gameObject.GetComponent<AudioSource>() as AudioSource;
		camera = gameObject.GetComponent<Camera>() as Camera;
		collider2D = gameObject.GetComponent<Collider2D>() as Collider2D;
		light = gameObject.GetComponent<Light>() as Light;
		particleEmitter = gameObject.GetComponent<ParticleEmitter>() as ParticleEmitter;
		particleSystem = gameObject.GetComponent<ParticleSystem>() as ParticleSystem;
		rigidbody2D = gameObject.GetComponent<Rigidbody2D>() as Rigidbody2D;
		renderer = gameObject.GetComponent<Renderer>() as Renderer;
		spriteRenderer = gameObject.GetComponent<SpriteRenderer>() as SpriteRenderer;
	}
}

{'fraction_non_alphanumeric': 0.07865168539325842, 'fraction_numerical': 0.005480953685941353, 'mean_word_length': 7.239277652370204, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '6690664', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1070, 'n_words': 261}