少年修仙传客户端代码仓库
client_linchunjie
2019-04-09 d6ddc7ceb5dc5cd6b04e8fdf482f29ea34b66c3b
3335 缥缈仙域
2个文件已修改
21 ■■■■■ 已修改文件
System/HazyRegion/HazyRegionCyclicScroll.cs 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionIncidentBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HazyRegion/HazyRegionCyclicScroll.cs
@@ -7,7 +7,16 @@
    {
        [SerializeField] float m_FadeInTime = 0.2f;
        public bool IsPlaying { get; private set; }
        bool m_IsPlaying = false;
        public bool IsPlaying
        {
            get { return m_IsPlaying; }
            private set
            {
                m_IsPlaying = value;
                this.enabled = !m_IsPlaying;
            }
        }
        Coroutine m_Coroutine = null;
@@ -15,7 +24,6 @@
        {
            base.Init(_datas, _stepByStep);
            IsPlaying = false;
            this.enabled = true;
            if (m_Coroutine != null)
            {
@@ -27,7 +35,6 @@
        public void DisplayAnimation()
        {
            IsPlaying = true;
            this.enabled = false;
            m_Coroutine = StartCoroutine(Co_DisplayAnimation());
        }
@@ -48,9 +55,10 @@
            {
                var behaviour = infiniteItems[i] as HazyRegionIncidentBehaviour;
                behaviour.linerMove.duration = behaviour.alphaTween.duration;
                var fromX = content.anchoredPosition.x + width / 2 + cellSize.x;
                var fromX = content.anchoredPosition.x + width / 2 + m_BoundOffset.left + cellSize.x;
                behaviour.linerMove.from = content.anchoredPosition.SetX(fromX);
                var toX = content.anchoredPosition.x - width / 2 + cellSize.x / 2 + i * (cellSize.x + spacing.x);
                var toX = content.anchoredPosition.x - width / 2 + m_BoundOffset.left
                    + cellSize.x / 2 + i * (cellSize.x + spacing.x);
                behaviour.linerMove.to = content.anchoredPosition.SetX(toX);
                behaviour.alphaTween.Play();
                behaviour.linerMove.Begin();
@@ -63,7 +71,6 @@
            yield return WaitingForSecondConst.GetWaitForSeconds(time);
            IsPlaying = false;
            this.enabled = true;
        }
    }
}
System/HazyRegion/HazyRegionIncidentBehaviour.cs
@@ -57,7 +57,7 @@
            incidentType = (HazyRegionIncidentType)config.incidentType;
            DisplayBase();
            //DisplayItems();
            DisplayItems();
            DisplayState();
            DisplaySelect();
            //DisplayBoss();