自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 无限滚动列表 更新优化

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using SimpleJSON; using YanhuaMMO; public class DynamicHeightL...

2019-06-21 10:16:35 430 1

原创 字符串转 Mesh

void Start () { for(int i=0;i < 3;i++) { GameObject txa = new GameObject(); txa.AddComponent(typeof(MeshFilter)); txa.AddComponent(type...

2019-06-19 17:15:30 177

原创 元素高度可变 无限滚动列表

必须继承IBeginDragHandler, IDragHandler, IEndDragHandler 这几个接口,否则拖动的时候会响应列表元素的点击 事件。 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using Unity...

2019-06-14 19:35:57 588

原创 c# 无向连通算法(代码极简)

因为游戏寻路需求,要做一个自动跳转地图的功能,为此做了这个无向连通算法,如下图,数字表示地图,比如我要从地图1走到地图6,有多少种走法,最短路径是哪个。 直接上代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Task...

2019-04-16 14:14:34 325

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除