26 lines
451 B
C#
26 lines
451 B
C#
using UnityEngine;
|
|
|
|
public class LevelSwitcher : MonoBehaviour
|
|
{
|
|
#region Statication
|
|
|
|
public static LevelSwitcher instance;
|
|
|
|
private void Awake()
|
|
{
|
|
if (instance != null && instance != this)
|
|
{
|
|
Destroy(gameObject);
|
|
return;
|
|
}
|
|
instance = this;
|
|
}
|
|
|
|
#endregion
|
|
public int[] stages; //uhh....
|
|
public int currentStage;
|
|
public void ChangeLevel()
|
|
{
|
|
|
|
}
|
|
}
|