少年修仙传客户端代码仓库
client_Wu Xijin
2019-05-20 e10794de2de372ffa71ff35a655c4063545b8376
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
3个文件已修改
31 ■■■■■ 已修改文件
Fight/ClientCollectUtility.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_Hero.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Alchemy/AlchemyResultWin.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/ClientCollectUtility.cs
@@ -160,6 +160,8 @@
                    if (_model.CanCollectClientNpc(_npc.NpcConfig.NPCID))
                    {
                        StartCollect(_npc);
                        var _dir = MathUtility.ForwardXZ(_npc.Pos, _hero.Pos);
                        _hero.Forward = _dir;
                    }
                    else
                    {
Fight/GameActor/GA_Hero.cs
@@ -97,14 +97,14 @@
#if UNITY_EDITOR
            // if (m_LockTarget is GA_Player && value != null && !(value is GA_Player))
            // {
            if (value != null)
            {
                Debug.LogFormat("更换了锁定目标: {0} ", value.ServerInstID);
            }
            else
            {
                Debug.LogFormat("清空了锁定目标: null");
            }
            // if (value != null)
            // {
            //     Debug.LogFormat("更换了锁定目标: {0} ", value.ServerInstID);
            // }
            // else
            // {
            //     Debug.LogFormat("清空了锁定目标: null");
            // }
            // }
#endif
            m_LockTarget = value;
System/Alchemy/AlchemyResultWin.cs
@@ -20,7 +20,8 @@
        [SerializeField] Text m_StoveLevel;
        [SerializeField] Text m_StoveExp;
        [SerializeField] IntensifySmoothSlider m_Slider;
        [SerializeField] ItemBehaviour m_Item;
        [SerializeField] ScrollRect m_Scroller;
        [SerializeField] ItemBehaviour[] m_Item;
        [SerializeField] Text m_CloseTip;
        [SerializeField] Image m_FairyStove;
        [SerializeField] Image m_NormalStove;
@@ -126,7 +127,15 @@
        void DisplayItem()
        {
            m_Item.SetItem(displayItem);
            m_Scroller.horizontalNormalizedPosition = 0f;
            for (int i = 0; i < m_Item.Length; i++)
            {
                m_Item[i].gameObject.SetActive(i < displayItem.count);
                if (i < displayItem.count)
                {
                    m_Item[i].SetItem(displayItem.id, 1);
                }
            }
        }
        private void OnClose()