少年修仙传客户端代码仓库
client_Hale
2019-03-28 42af0f3ce3ac0d357d1b6c813e7cfe5cbad8d5de
382 对上下线任务事件触发逻辑进行延迟处理逻辑
2个文件已修改
12 ■■■■■ 已修改文件
Fight/GameActor/GA_NpcClientCollect.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Stage/MapEditor/Game/ClientSceneManager.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_NpcClientCollect.cs
@@ -32,6 +32,8 @@
    protected override void OnUnit()
    {
        base.OnUnit();
        if (m_ArrivedList.Contains(ServerInstID))
        {
            if (OnLeave != null)
Fight/Stage/MapEditor/Game/ClientSceneManager.cs
@@ -21,6 +21,16 @@
        {
            yield return null;
        }
        float _escapeTime = 0;
        while (m_TriggerHandlerDict.Count == 0)
        {
            _escapeTime += Time.deltaTime;
            if (_escapeTime > 1f)
            {
                yield break;
            }
            yield return null;
        }
        Debug.LogFormat("=           结束触发: {0}             =", id);
        foreach (var _trigger in m_MapData.triggers)