天津23维预案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
860 B

3 years ago
using UnityEngine;
using System.Collections;
using AX.Network.Protocols;
using System;
using System.Collections.Generic;
using AX.NetworkSystem;
using AX.MessageSystem;
using UnityEngine.UI;
public class GET_DEPTS_REPLY : MessageBehaviour
{
public List<DeptInfo> Depts = new List<DeptInfo>();
//public Dropdown Dropdown_ZongD;
protected override void Execute(IMessage message)
{
Depts = (List<DeptInfo>)message.Data;
//List<Dropdown.OptionData> ZongDOptions = new List<Dropdown.OptionData>();
//ZongDOptions.Add(new Dropdown.OptionData("请选择总队"));
//foreach (var item in Depts)
//{
// if (item.Level == 1)
// {
// ZongDOptions.Add(new Dropdown.OptionData(item.Name));
// }
//}
//Dropdown_ZongD.options = ZongDOptions;
}
}