会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
流星曳尾
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
32
···
37
下一页
2020年4月29日
ccui.Button在没有设置点击事件的情况下竟然出现了点击后会放大的效果,这一切的背后竟然是
摘要: 这一切的背后竟然是ccui.Button只设置了normalImage而没有设置selectedImage与disableImage。
阅读全文
posted @ 2020-04-29 16:39 流星曳尾
阅读(218)
评论(0)
推荐(0)
2020年4月20日
代码中先设置锚点还是先setPosition
摘要: cocos 代码中,无论是先setAnchorPoint后setPosition还是反序,都相当于cocos studio中先设置锚点,后setPosition的效果。
阅读全文
posted @ 2020-04-20 16:10 流星曳尾
阅读(535)
评论(0)
推荐(0)
2020年4月14日
打开某个链接
摘要: OpenUrl(url,tag)(可以是facebook粉丝页的地址,也可以是google store对应软件的地址)
阅读全文
posted @ 2020-04-14 09:56 流星曳尾
阅读(125)
评论(0)
推荐(0)
2020年4月7日
在unity中打开的vs编辑器中没有代码提示
摘要: 在unity->edit->preferences->External Tools->External Script Editor 中选择所使用的vs编辑器
阅读全文
posted @ 2020-04-07 13:30 流星曳尾
阅读(1809)
评论(0)
推荐(0)
2020年3月19日
EditBox设置最大字符数
摘要: cc.EditBox.setMaxLength(maxLength)
阅读全文
posted @ 2020-03-19 10:44 流星曳尾
阅读(293)
评论(0)
推荐(0)
2020年3月13日
按钮的点击事件在非点击处调用
摘要: btn.addTouchEventListener(function,target);this.function(btn,touch_type)
阅读全文
posted @ 2020-03-13 17:38 流星曳尾
阅读(152)
评论(0)
推荐(0)
界面适配
摘要: 左右侧的坐标用 starX + temp 与 endX - temp表示
阅读全文
posted @ 2020-03-13 16:22 流星曳尾
阅读(95)
评论(0)
推荐(0)
安卓分享
摘要: function ShareByAndroid(pkg,content)
阅读全文
posted @ 2020-03-13 13:58 流星曳尾
阅读(94)
评论(0)
推荐(0)
2020年3月9日
如何打开网页
摘要: OpenUrl(url,tag)
阅读全文
posted @ 2020-03-09 11:27 流星曳尾
阅读(618)
评论(0)
推荐(0)
2020年3月1日
秒转化为小时:分钟:秒
摘要: hour=num/3600;min=num%3600/60;sec=num%60;
阅读全文
posted @ 2020-03-01 17:16 流星曳尾
阅读(1002)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
32
···
37
下一页
公告