少年修仙传客户端代码仓库
client_Hale
2019-05-23 4a7417389ff68aafb40c4e812770cd92bc942fc2
382 增加查错log
2个文件已修改
20 ■■■■ 已修改文件
Fight/GameActor/GAMgr.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GActor.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GAMgr.cs
@@ -829,6 +829,13 @@
    {
#if UNITY_EDITOR
        string _content = string.Format("GAMgr => 对角色 SID: {0}, CID: {1} 进行了回收", actor.ServerInstID, actor.ClientInstID);
        if (ClientDungeonStageUtility.isClientDungeon)
        {
            if (actor is GA_NpcClientFightBoss)
            {
                Debug.Log(_content);
            }
        }
        RuntimeLogUtility.AddLog_Green(_content, actor.ServerInstID);
#endif
        bool _needReSyncPlayerCount = false;
Fight/GameActor/GActor.cs
@@ -51,10 +51,15 @@
            {
                m_Root.position = m_Pos;
            }
            // if (this is GA_Hero)
            // {
            //     Debug.Log("坐标改变.....: " + value);
            // }
#if UNITY_EDITOR
            if (ClientDungeonStageUtility.isClientDungeon)
            {
                if (this is GA_NpcClientFightBoss)
                {
                    Debug.Log("坐标改变.....: " + value);
                }
            }
#endif
        }
    }