• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)

1191. as语言的protobuffer怎么使用? [ 55%]

...protobuffer怎么使用? 又怎么用socket发送出去,之前我是用string 的方式发送,现在想改用字节流的方式发送,我之前是json的格式发送过去,现在怎么使用protobuffer编译现有的json成二进制,在通过socket发送到服务端? 2017-04-02 添加...

来源: Laya_社区 发布时间: 20170402

1192. laya.d3.resource.models.MorphTargetChannel_API3.0 [ 55%]

.../models/MorphTarget.ts:32 Returns MorphTargetChannel Properties name name: string Defined in laya/d3/resource/models/MorphTarget.ts:25 targetCount targetCount: number = 0 Defined in laya/d3/resource/models/MorphTarget.ts:32 Methods addTarget addTarget(target: MorphTarget): void Defined in laya/d3/re...

来源: Laya3.0_api 发布时间: 20231115

1193. 本地缓存LocalStorage,setJson失效 [ 55%]

...储。          */         public static function setJSON(key:String, value:Object):void {             _baseClass.setJSON(key, value);         }   2018-04-26 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: 你对照一下你的参数, 2018-04-26 0 0 分享 微...

来源: Laya_社区 发布时间: 20180426

1194. 怎么将图片转换成base64格式 [ 55%]

...():void { var img:Texture = Laya.loader.getRes("hall/111.png"); var encode:String = Base64ImageTool.getBase64Pic(img); } 2017-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: zhuijie ...

来源: Laya_社区 发布时间: 20170613

1195. 如何劫取地址的部分字符串 [ 55%]

...址,然后通过字符串截取得到你想要的部分字符串,譬如string.substr() 2017-03-06 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yonghua5416 相关问题 关于适配采用showAll后留白部分的颜色问题 我用l...

来源: Laya_社区 发布时间: 20170306

1196. DOM元素-表单输入 [ 55%]

...ts, [emailInput, birthdayInput, passwordInput]); } private showLabel(label:string, x:number, y:number):void{ var t:Laya.Text = new Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15; t.font = "SimHei"; t.text = label; t.pos(x, y); this.form.addChild(t); } private createInpu...

来源: Laya2.0_示例 发布时间: 20260303

1197. 发包vivo小游戏存档问题 [ 55%]

...alStorage.getJSON 打印出来的一直是 Value xxxjson of type java.lang.String cannot be converted to JSONObject 如何解决啊 发包vivo不能使用 Laya.LocalStorage 做存档吗? 2019-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

来源: Laya_社区 发布时间: 20190722

1198. 官网二进制图片做法苹果系统失败 [ 55%]

官网二进制图片做法苹果系统失败 var url:String = Browser.window.URL.createObjectURL(blob);//创建一个url对象; var htmlImg:HTMLImage = HTMLImage.create(url);//这里创建HTMLImage 这里要用HTMLImage.create; htmlImg.onload = function():void { var t:Texture =new Texture(html...

来源: Laya_社区 发布时间: 20170608

1199. 如何制作渐变progressBar [ 55%]

...yabox.com/doc/?nav=zh-as-2-3-12 as的源码 public function set skin(value:String):void { if (_skin != value) { _skin = value; _bg.skin = _skin; _bar.skin = _skin.replace(".png", "$bar.png"); callLater(changeValue); } }   2018-04-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

来源: Laya_社区 发布时间: 20180408

1200. 【分享】微信小游戏解析xml适配 [ 55%]

...引擎自带解析方法你们都不知道? laya.utils.Utils.parseXMLFromString(xmlStr) 搞笑的是官方人员提出的这个问题 2018-11-27 0 0 分享 微博 QZONE 微信 老衲当时慌了 赞同来自: http://blog.asroads.com/post/c20f4493.html http://blog.asroads.com/post/28b1df01.html...

来源: Laya_社区 发布时间: 20180103