摘要: 1.寻找物体 1.1 寻找满足条件的子物体 ` public static Transform FindObj(Transform transform, Func condition, bool isGrandsonObj = false) { Transform[] allChilds = tra 阅读全文
posted @ 2019-02-02 12:59 CDCDDCDC 阅读(1511) 评论(0) 推荐(0)
摘要: 常用扩展方法 1 C 扩展方法 1.1 删除指定字符串 1.1.1 代码实现 `/// /// 删除指定字符串 /// public static string RemoveString(this string @this, string removeStr) { // 查找被删除的字符串的位置 i 阅读全文
posted @ 2019-02-02 11:15 CDCDDCDC 阅读(267) 评论(0) 推荐(0)