少年修仙传客户端代码仓库
client_linchunjie
2019-04-17 f1f2599ba0e6b64358ffef7ae5c9f9af3ed8b8b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Snxxz.UI
{
    [XLua.Hotfix]
    public class GatherSoulResolveCell : CellView
    {
        [SerializeField] GatherSoulResolveItem[] m_Items;
 
        public void Display(int line)
        {
            for (int i = 0; i < m_Items.Length; i++)
            {
                var index = line * m_Items.Length + i;
                m_Items[i].Display(index);
            }
        }
    }
}