摘要: List.Exists():判断列表中是否有符合条件的元素。 1 using System.Collections; 2 using System.Collections.Generic; 3 using System.Linq; 4 using UnityEngine; 5 6 public cl 阅读全文
posted @ 2024-02-29 11:54 朋丶Peng 阅读(60) 评论(0) 推荐(0) 编辑
摘要: List.Sort():对List所有元素按条件进行排序。 1 using System.Collections; 2 using System.Collections.Generic; 3 using System.Linq; 4 using UnityEngine; 5 6 public cla 阅读全文
posted @ 2024-02-29 11:39 朋丶Peng 阅读(54) 评论(0) 推荐(0) 编辑
摘要: List.Where():找出List中满足某个或者某些条件的所有元素。 1 using System.Collections; 2 using System.Collections.Generic; 3 using System.Linq; 4 using UnityEngine; 5 6 pub 阅读全文
posted @ 2024-02-29 11:18 朋丶Peng 阅读(126) 评论(0) 推荐(0) 编辑
摘要: List.Select(): ①一般List中的元素是对象的时候,可以通过Selec()获取列表中所有元素的部分或者全部属性属性值列表; ②如果Select()中有判断的部分,则最终返回的列表是bool布尔类型的列表。 1 using System.Collections; 2 using Syst 阅读全文
posted @ 2024-02-28 14:28 朋丶Peng 阅读(212) 评论(0) 推荐(1) 编辑
摘要: List.Find() :获取List中第一个符合条件的元素,并返回该元素;List.FindAll() :获取List中所有符合条件的元素,并最终返回一个列表。 1 using System.Collections; 2 using System.Collections.Generic; 3 us 阅读全文
posted @ 2024-02-28 11:27 朋丶Peng 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 中国:https://unity.cn/releases 国际:https://unity.com/releases/editor/archive 阅读全文
posted @ 2023-10-11 18:01 朋丶Peng 阅读(281) 评论(0) 推荐(0) 编辑
摘要: (20条消息) C#dictionary根据索引值获取Key值_c# dictionary key_风,停下的博客-CSDN博客 阅读全文
posted @ 2023-04-11 15:10 朋丶Peng 阅读(19) 评论(0) 推荐(0) 编辑
摘要: Unity打包到Android手机上网络请求http,提示 Unknown error错误_cw_han的博客-CSDN博客 阅读全文
posted @ 2023-04-08 20:59 朋丶Peng 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-04-08 13:38 朋丶Peng 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-04-08 12:01 朋丶Peng 阅读(488) 评论(0) 推荐(0) 编辑