yyl
2025-05-23 2fa304ada32e6d8a9444136e29d3fb5cefa77538
Main/Core/GameEngine/Launch/LaunchInHot.cs
@@ -5,7 +5,7 @@
using System.Collections.Generic;
using System.IO;
public class LaunchInHot : MonoBehaviour
public class LaunchInHot : SingletonMonobehaviour<LaunchInHot>
{
    static int step = 0;
    public static LaunchStage m_CurrentStage = LaunchStage.None;
@@ -17,6 +17,9 @@
    bool launchComplete = false;
    float surplusProgress = 0f;
    float surplusTime = 0f;
    public Action OnApplicationOut = null;
    void Start()
    {
@@ -190,6 +193,10 @@
    }
    private void OnApplicationQuit()
    {
        OnApplicationOut?.Invoke();
    }
}