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

public class CinematicTime : MonoBehaviour
{
    public SceneTransition transition;
    public GameObject text;
    float currentTime;
    float timeDuration;

    void Start()
    {
        timeDuration = 5;
    }

    void Update()
    {
        currentTime += Time.deltaTime;

        if(currentTime >= timeDuration)
        {
            text.SetActive(true);
        }

        if((Input.GetKeyDown(KeyCode.Return)) && (currentTime >= timeDuration))
        {
            transition.LoadScene(4);
        }
    }
}<commit_msg>Correct transitions<commit_after>﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CinematicTime : MonoBehaviour
{
    private LevelManager levelManager;
    public GameObject text;
    float currentTime;
    float timeDuration;
    int buildIndex;

    void Start()
    {
        timeDuration = 5;
        buildIndex = 3;
    }

    void Update()
    {
        currentTime += Time.deltaTime;

        if(currentTime >= timeDuration)
        {
            text.SetActive(true);
        }

        if((Input.GetKeyDown(KeyCode.Return)) && (currentTime >= timeDuration))
        {
            GameObject.FindGameObjectWithTag("GameController").GetComponent<LevelManager>().StartLoad(buildIndex);
        }
    }
}
{'fraction_non_alphanumeric': 0.09768451519536903, 'fraction_numerical': 0.002894356005788712, 'mean_word_length': 2.431761786600496, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, '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': '4506220', 'n_tokens_mistral': 389, 'n_tokens_neox': 372, 'n_words': 75}