
NGUI
RGQ
这个作者很懒,什么都没留下…
展开
-
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 · 875 阅读 · 0 评论 -
NGUI 代码Snap
NGUI atlas Uisprite 图片 Snapthis.GetComponent<UISprite>().MarkePixelPerfect();转载 2018-02-12 14:21:08 · 915 阅读 · 0 评论 -
UIWrapContent
GameObject grid下挂入脚本 MultiRowWrapContent 代码: UIWrapContent _wrapScript = grid_mt_SearchItem_Ingredients.GetComponent<UIWrapContent>(); _wrapScript.onInitializeItem = OnUpdateIngredients;Ra...翻译 2018-03-16 11:02:27 · 557 阅读 · 0 评论 -
NGUI 图集图片白毛边
今天在做项目时,发现自己在用NGUI时,自己使用打包好的图集过程中,发现Sprite边缘出现一些细小的线条,特别影响UI美观经过仔细检查自己打包的图集发现,这是由于图集中各个精灵位置间隔太小造成的,所以我们就需要调整精灵之间间隔的大小,来解决这个问题。...转载 2018-03-13 14:41:13 · 438 阅读 · 0 评论