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.

32 lines
519 B

  1. using UnityEngine;
  2. using System.Collections;
  3. public class levelController : MonoBehaviour {
  4. public int playerCount;
  5. public int maxScore;
  6. public int confetti;
  7. public static levelController control;
  8. // Use this for initialization
  9. void Awake ()
  10. {
  11. if (control == null) {
  12. DontDestroyOnLoad (gameObject);
  13. control = this;
  14. } else if (control != this) {
  15. Destroy (gameObject);
  16. }
  17. }
  18. // Use this for initialization
  19. void Start () {
  20. }
  21. // Update is called once per frame
  22. void Update () {
  23. }
  24. }