yyl
2025-05-19 b118ece3db250a5a257b60713da92234d8d5a57a
Main/Component/UI/Common/CyclicScroll.cs
@@ -3,6 +3,8 @@
using UnityEngine;
using UnityEngine.EventSystems;
using System;
using Cysharp.Threading.Tasks;
using System.Diagnostics;
[DisallowMultipleComponent]
@@ -195,7 +197,8 @@
        if (_stepByStep)
        {
            StartCoroutine("Co_StepByStepAppear");
            Co_StepByStepAppear();
            // StartCoroutine("Co_StepByStepAppear");
        }
    }
@@ -222,7 +225,7 @@
        }
    }
    IEnumerator Co_StepByStepAppear()
    private async UniTask Co_StepByStepAppear()
    {
        for (int i = 0; i < infiniteItems.Count; i++)
        {
@@ -231,7 +234,7 @@
            {
                infiniteItem.SetActive(true);
                infiniteItem.OpeningShow();
                yield return WaitingForSecondConst.WaitMS100;
                await UniTask.Delay(1000);
            }
        }
    }
@@ -284,10 +287,10 @@
    public void OnDrag(PointerEventData eventData)
    {
        if (vnxbqy.UI.NewBieCenter.Instance.inGuiding)
        {
            return;
        }
        // if (vnxbqy.UI.NewBieCenter.Instance.inGuiding)
        // {
        //     return;
        // }
        if (autoLerp || eventData.button != PointerEventData.InputButton.Left)
        {
@@ -638,7 +641,7 @@
    {
        if (content == null)
        {
            DebugEx.Log("Content 不能为空!");
            UnityEngine.Debug.Log("Content 不能为空!");
            return;
        }