大修
This commit is contained in:
@@ -1,20 +1,22 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using SLSUtilities.General;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Ichni.StartMenu
|
||||
{
|
||||
public class StartMenuManager : MonoBehaviour
|
||||
public class StartMenuManager : Singleton<StartMenuManager>
|
||||
{
|
||||
public static StartMenuManager instance;
|
||||
/// <summary>小写别名,兼容现有调用点</summary>
|
||||
public new static StartMenuManager instance => Instance;
|
||||
|
||||
public StartPage startPage;
|
||||
public CreateEmptyProjectPage createEmptyProjectPage;
|
||||
public EditorSettingsPage editorSettingsPage;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake(); // Singleton<T>.Initialize(false)
|
||||
Application.targetFrameRate = 90;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user