<commit_before>﻿/*
Copyright (c) 2013 Technicat, LLC. All Rights Reserved. MIT License.
http://learnunity4.com/
*/
using UnityEngine;
using System.Collections;

namespace Fugu {
public class Splash : MonoBehaviour {
	
	public float waitTime=2; // in seconds
	public string level=""; // scene name to load

	// Use this for initialization
	void Start () {
		UnityEngine.Object.DontDestroyOnLoad(gameObject); // retain this object through a level load
		Handheld.SetActivityIndicatorStyle(UnityEngine.iOS.ActivityIndicatorStyle.Gray);
		Handheld.StartActivityIndicator();
		StartCoroutine (WaitAndLoad ());
	}
		
	IEnumerator WaitAndLoad() {
		yield return new WaitForSeconds(waitTime);
		Application.LoadLevel(level);
	}
	

}
}<commit_msg>fixed LoadScene warning<commit_after>﻿/*
Copyright (c) 2013 Technicat, LLC. All Rights Reserved. MIT License.
http://learnunity4.com/
*/
using UnityEngine;
using System.Collections;

namespace Fugu {
public class Splash : MonoBehaviour {
	
	public float waitTime=2; // in seconds
	public string level=""; // scene name to load

	// Use this for initialization
	void Start () {
		UnityEngine.Object.DontDestroyOnLoad(gameObject); // retain this object through a level load
		Handheld.SetActivityIndicatorStyle(UnityEngine.iOS.ActivityIndicatorStyle.Gray);
		Handheld.StartActivityIndicator();
		StartCoroutine (WaitAndLoad ());
	}
		
	IEnumerator WaitAndLoad() {
		yield return new WaitForSeconds(waitTime);
		Application.LoadLevel(level);
		UnityEngine.SceneManagement.SceneManager.LoadScene(level);
	}
	

}
}
{'fraction_non_alphanumeric': 0.10342598577892695, 'fraction_numerical': 0.007756948933419522, 'mean_word_length': 4.797752808988764, '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': '5554971', 'n_tokens_mistral': 482, 'n_tokens_neox': 452, 'n_words': 121}