Files
ichni_Creator_Studio/Assets/Scripts/StartMenu/StartMenuManager.cs
SoulliesOfficial e0ae43c25c StartMenu!
2025-03-08 14:21:10 -05:00

26 lines
647 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ichni.StartMenu
{
public class StartMenuManager : MonoBehaviour
{
public static StartMenuManager instance;
public StartPage startPage;
public CreateEmptyProjectPage createEmptyProjectPage;
private void Awake()
{
if (instance == null)
{
instance = this;
DontDestroyOnLoad(gameObject);
}
else if (instance != this)
{
Destroy(gameObject);
}
}
}
}