yyl
57 分钟以前 fa983b84bcdb05324ea15ee50a76f870c4c3931d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//--------------------------------------------------------
//    [Author]:           玩个游戏
//    [  Date ]:           Wednesday, January 10, 2018
//--------------------------------------------------------
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
 
 
    public class ServerBehaviourGroup : ScrollItem
    {
        [SerializeField] ServerBehaviour m_ServerBehaviour_1;
 
        public override void Display(object _data)
        {
            base.Display(_data);
 
            var serverDataGroup = (ServerDataCouple)_data;
 
            m_ServerBehaviour_1.SetActive(serverDataGroup.serverData1.region_flag > 0);
 
            if (serverDataGroup.serverData1.region_flag > 0)
            {
                m_ServerBehaviour_1.Display(serverDataGroup.serverData1);
            }
 
        }
 
    }