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

public class Hitmarker : MonoBehaviour {

    public GameObject hitmarkerPrefab;

    void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.CompareTag("Player")) {
            Vector2 position = coll.contacts[0].point;
            var go = GameObject.Instantiate(hitmarkerPrefab, position, Quaternion.identity);
            Destroy(go, 0.235f);
        }
    }
}<commit_msg>Also display hitmarker when balls collid<commit_after>﻿using UnityEngine;
using System.Collections;

public class Hitmarker : MonoBehaviour {

    public GameObject hitmarkerPrefab;

    void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.CompareTag("Player") || coll.gameObject.CompareTag("Ball")) {
            Vector2 position = coll.contacts[0].point;
            var go = GameObject.Instantiate(hitmarkerPrefab, position, Quaternion.identity);
            Destroy(go, 0.235f);
        }
    }
}
{'fraction_non_alphanumeric': 0.09785932721712538, 'fraction_numerical': 0.0163098878695209, 'mean_word_length': 3.1610169491525424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4016261', 'n_tokens_mistral': 299, 'n_tokens_neox': 279, 'n_words': 58}