自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

翻译 UIWrapContent

GameObject grid下挂入脚本 MultiRowWrapContent    代码:  UIWrapContent _wrapScript = grid_mt_SearchItem_Ingredients.GetComponent<UIWrapContent>();   _wrapScript.onInitializeItem = OnUpdateIngredients;Ra...

2018-03-16 11:02:27 506

转载 NGUI 图集图片白毛边

今天在做项目时,发现自己在用NGUI时,自己使用打包好的图集过程中,发现Sprite边缘出现一些细小的线条,特别影响UI美观经过仔细检查自己打包的图集发现,这是由于图集中各个精灵位置间隔太小造成的,所以我们就需要调整精灵之间间隔的大小,来解决这个问题。...

2018-03-13 14:41:13 365

转载 NGUI 代码Snap

NGUI atlas Uisprite 图片 Snapthis.GetComponent<UISprite>().MarkePixelPerfect();

2018-02-12 14:21:08 845

转载 速度快发生碰撞

Description  This script uses raycasting to avoid the physics engine letting fast-moving objects go through other objects (particularly meshes). Changes  1.Added "Switch To Layer" convenience optio

2017-12-27 14:23:00 181

原创 unity 在 iOS 层级

BasicMapViewController *viewController=nil; void OpenGPSMap(void *p){     if(viewController!=nil){         [viewController initAnnotations: [NSString stringWithUTF8String:p]];         [vie

2017-12-21 16:30:34 323

转载 c#中英字节方法

public static int bytelenght(string str)     {         //使用Unicode编码的方式将字符串转换为字节数组,它将所有字符串(包括英文中文)全部以2个字节存储         byte[] bytestr = System.Text.Encoding.Unicode.GetBytes(str);         int j = 0;

2017-12-21 16:21:12 145

原创 unity 查找root节点

但不能找到active false       foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType(typeof(GameObject)))         {             if (obj.transform.parent == null)             {

2017-12-21 15:35:04 1777

原创 NGUI UIButton 添加带参数事件

private void addEventListener(UIButton button)     {         EventDelegate eventDelegate = new EventDelegate(this, "OnMeridiansClick");         eventDelegate.parameters[0] = new EventDelegate.Param

2017-12-11 10:54:10 813

ActionScript_3.0_Cookbook_简体中文版.pdf

想学习as的可以参照本书知识 里面讲了大量有用的知识

2011-01-11

空空如也

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

TA关注的人

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