This commit is contained in:
shurongsen 2024-11-02 23:10:40 +08:00
parent 0775e3171f
commit 44524eec82

View File

@ -105,7 +105,7 @@ public class jinsha : mount
List<BoxType> boxTypes = new List<BoxType>();//搜索到的用户添加到弹窗
for (int i = 0; i < itemList.List.Length; i++)
{
boxTypes.Add(new BoxType { textName = "查找到的玩家",content = "lv."+itemList.List[i].Level.ToString(), prompt = itemList.List[i].Name, Type = 7 });
boxTypes.Add(new BoxType { textName = "查找到的玩家",content = "lv."+itemList.List[i].Level.ToString(), prompt = itemList.List[i].Name, Type = 7, customData = new BoxData<PlayerData>(itemList.List[i]) });
}
gameObjectitems = gameObject.GetComponent<input_box_pop_up_window>().updateUI(boxTypes, "赠送好友");