<commit_before>using UnityEngine;
using System.Collections;

public class ThrusterEmitterController : MonoBehaviour {


    ParticleSystem ps;
    AudioSource ac;


	// Use this for initialization
	void Start () {
        ps = GetComponent<ParticleSystem>();
        ac = GetComponent<AudioSource>();
	}
	
	// Update is called once per frame
	void Update () {
	}

    void FixedUpdate()
    {
            
        bool SPACE_PRESSED = Input.GetKey(KeyCode.Space);
        if (SPACE_PRESSED)
        {
            if (!ac.isPlaying)
            {
                ac.Play();

            }
        } else
        {
            ac.Stop();
        }

        var em = ps.emission;
        em.enabled = SPACE_PRESSED;

    
    }
}<commit_msg>Update ThrusterEmitterController.cs<commit_after>
{'fraction_non_alphanumeric': 0.09529860228716645, 'fraction_numerical': 0.0, 'mean_word_length': 1.7746478873239437, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6940005', 'n_tokens_mistral': 240, 'n_tokens_neox': 222, 'n_words': 49}