少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-21 9ed22ec502a106d14241f5c8a973c6055fd353f4
3335 解决外网热更新问题。

(cherry picked from commit 65c4e9b5f1684227411fc48d5c747c3635e7e4c8)
1个文件已修改
15 ■■■■■ 已修改文件
Utility/LogicEngine.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/LogicEngine.cs
@@ -2,21 +2,8 @@
using System.Collections.Generic;
using UnityEngine;
public class LogicEngine : MonoBehaviour
public class LogicEngine : SingletonMonobehaviour<LogicEngine>
{
    public static LogicEngine Instance { get; private set; }
    [RuntimeInitializeOnLoadMethod]
    static void Init()
    {
        if (FindObjectOfType<LogicEngine>() == null)
        {
            var gameObject = new GameObject("LogicEngine");
            Instance = gameObject.AddMissingComponent<LogicEngine>();
            GameObject.DontDestroyOnLoad(gameObject);
        }
    }
    List<LogicUpdate> logicUpdates = new List<LogicUpdate>();
    public void Register(LogicUpdate logicUpdate)
    {