少年修仙传客户端代码仓库
client_linchunjie
2018-12-24 5a28f3164c037675dff3fdd067ebad430adeae98
5367 【前端】【1.4】聚魂功能开发
1个文件已修改
18 ■■■■■ 已修改文件
System/GatheringSoul/GatherSoulTotalPropertyWin.cs 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GatheringSoul/GatherSoulTotalPropertyWin.cs
@@ -112,14 +112,18 @@
            }
            else
            {
                var behaviour = GameObject.Instantiate(m_Propertys[0]);
                if (behaviour != null)
                var count = propertySorts.Count - m_Propertys.Length - m_ClonePropertys.Count;
                for (int i = 0; i < count; i++)
                {
                    behaviour.transform.SetParent(m_Content);
                    behaviour.transform.localPosition = Vector3.zero;
                    behaviour.transform.localEulerAngles = Vector3.zero;
                    behaviour.transform.localScale = Vector3.one;
                    m_ClonePropertys.Add(behaviour);
                    var behaviour = GameObject.Instantiate(m_Propertys[0]);
                    if (behaviour != null)
                    {
                        behaviour.transform.SetParent(m_Content);
                        behaviour.transform.localPosition = Vector3.zero;
                        behaviour.transform.localEulerAngles = Vector3.zero;
                        behaviour.transform.localScale = Vector3.one;
                        m_ClonePropertys.Add(behaviour);
                    }
                }
            }
        }