Skip to content
Snippets Groups Projects
Prefight.cs 339 B
Newer Older
Jordan's avatar
Jordan committed
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;

public class Prefight : MonoBehaviour {

	public int time;

	// Use this for initialization
	void Start () {
	}
	
	// Update is called once per frame
	void Update () {
		if (time > 0) {
			time--;
		}
		else {
			SceneManager.LoadScene("arena");
		}
	}
}