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

public class SoundControl : MonoBehaviour {
	
	AudioSource audioSource;
	AudioClip sound;
	
	// Use this for initialization
	void Start () {
	
	}
	
	public static void PlaySound(string audioFile){
		/*
		audioSource = (AudioSource)gameObject.AddComponent(audioFile);	
		sound = (AudioClip)Resources.Load(audioFile);
		audioSource.clip = sound;*/

		//Buggy?
		Debug.Log("Play sound event " +audioFile);
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}<commit_msg>Added Fabric audio call in SoundControl script<commit_after>﻿using UnityEngine;
using System.Collections;

public class SoundControl : MonoBehaviour {
	
	AudioSource audioSource;
	AudioClip sound;
	
	// Use this for initialization
	void Start () {
	
	}
	
	public static void PlaySound(string audioFile){
		/*
		audioSource = (AudioSource)gameObject.AddComponent(audioFile);	
		sound = (AudioClip)Resources.Load(audioFile);
		audioSource.clip = sound;*/

		//Buggy?
		Debug.Log("Play sound event " +audioFile);
		Fabric.EventManager.Instance.PostEvent(audioFile);
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
{'fraction_non_alphanumeric': 0.10580204778156997, 'fraction_numerical': 0.0, 'mean_word_length': 4.077922077922078, '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': '6788246', 'n_tokens_mistral': 391, 'n_tokens_neox': 347, 'n_words': 91}