hch
5 天以前 a08c5bf246caa43a12025f619ba491c4194ef2fa
Main/System/OSActivity/OSGalaMissionWin.cs
@@ -9,12 +9,12 @@
using UnityEngine.UI;
////开服活动-主线关卡活动
////开服活动-庆典
public class OSGalaMissionWin : UIBase
{
    [SerializeField] ScrollerController scroller;
    int[] types = new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
    List<int> ids = new List<int>();
    protected override void OnPreOpen()
@@ -38,14 +38,14 @@
        // -1 为所有类型
        if (type >= 2 && type <= 19 || type == -1)
        {
            ids = AchievementManager.Instance.GetAchievementIDsByTypes(types);
            ids = AchievementManager.Instance.GetAchievementIDsByTypes(AchievementManager.galaTypes);
            scroller.m_Scorller.RefreshActiveCellViews();
        }
    }
    void CreateScroller()
    {
        ids = AchievementManager.Instance.GetAchievementIDsByTypes(types);
        ids = AchievementManager.Instance.GetAchievementIDsByTypes(AchievementManager.galaTypes);
        var count = ids.Count;
        scroller.Refresh();
        for (int i = 0; i < count; i++)