GAME DEVING AT 3 AM CHALLENGE (I ALMOST DIED)

This commit is contained in:
Sylvia 2026-03-25 01:22:45 -07:00
parent c2a71d5188
commit 9930aba85d
3428 changed files with 186147 additions and 2298 deletions

View file

@ -2,6 +2,23 @@ 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()
{