You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
475 B

using UnityEngine;
using System.Collections;
public class levelController : MonoBehaviour {
public int playerCount;
public static levelController control;
// Use this for initialization
void Awake ()
{
if (control == null) {
DontDestroyOnLoad (gameObject);
control = this;
} else if (control != this) {
Destroy (gameObject);
}
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}