自定义博客皮肤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)
  • 收藏
  • 关注

原创 控件字典

#region 控件字典protected Dictionary<string, string> dicWidgetFullName = new Dictionary<string, string>();//递归调用,将rootTransform下面所有子物体,按照物体名称——物体路径,缓存到dicWidgetFullName//递归遍历控件,填充控件字典protected void GetWid

2016-04-29 09:39:15 633

原创 unity编译时自动结束项目运行

public class AutoStopHelper : EditorWindow { [MenuItem(“Tools/Auto Stop When Compiling”)] public static void Init(){ GetWindow(); } string tips = “Not compile yet”; vo

2016-04-29 09:34:25 1129

原创 unity自动获取特效的播放时间,并自动删除特效

public float time = 0f;void Start(){ time = ParticleSystemLength(); Invoke("DestroySelf", time); print(ParticleSystemLength());}void DestroySelf(){ Destroy(this.gameObject);}float

2016-03-16 17:57:52 5799

原创 用正则表达式来判断是否有需要的字符串

实际开发中的一些小知识点用正则表达式来判断是否有需要的字符串/// <summary> /// 判断文本框中输入是否为【数字】 /// </summary> /// <param name="itemValue"></param> /// <returns></returns> private static bool IsNumeric(string item

2016-03-16 13:57:43 492

空空如也

空空如也

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

TA关注的人

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