大约有 314 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
... 4 个回复 南 赞同来自: Smile~ // RayCast方法: // world.RayCast(callback:Function,point1:b2Vec2,point2:b2Vec2); // * callback 回调函数 // * point1 射线的起点 // * point2 射线的终点 // 回调函数: // function(fixture:b2Fixture,point:b2Vec2,normal:b2Vec2,fraction:Number):N...
来源: Laya_社区 发布时间: 20190519
...,打包后才会出现问题 public function send(type:String,url:String,callbackName:String):void { this.type = type; //发送请求 var script:* = Browser.createElement("script"); script.id = "serverlist"; Browser.document.head.appendChild(script); script.src = url; script.type = "get"; Browser....
来源: Laya_社区 发布时间: 20180209
...Texture2D getDataAsync(x:Number, y:Number, width:Number, height:Number, callBack:Function):void native多线程 RenderTexture2D getIsReady():BooleanRenderTexture2D popRT():void[static] 恢复上次保存的RT信息 RenderTexture2D pushRT():void[static] 保存当前的RT信息。 RenderTe...
来源: Laya2.0_api 发布时间: 20190513
...riptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 134 at JSON.parse (<anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:15089/game/code.js:10708:15) at Function.MiniLoader....
来源: Laya_社区 发布时间: 20180531
...{ Shake.instance.start(5, 500); Shake.instance.on(Event.CHANGE, this, this.callback); this.console.text = '开始接收设备摇动\n'; } private callback():void { this.shakeCount++; this.console.text += "设备摇晃了" + this.shakeCount + "次\n"; if (this.shakeCount >= 3) { Shake.instance.stop()...
来源: Laya_示例 发布时间: 20251130
... gameThirdScriptError expected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f) expected Number(uniform4f);at requestAnimationFrame callback function Error: expected Number(uniform4f)<div class="eruda-json eruda-hidden"></div> at e.value (wag...
来源: Laya_社区 发布时间: 20190423
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 callback 相关问题 关于微信小游戏关系链的问题 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 微信小游戏如何竖屏 关于微信7.0.3版本之后的版本,微信小游戏 ...
来源: Laya_社区 发布时间: 20180416
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 callback 相关问题 看了其他引擎才发现 LAYA 真的太太太太好用了!!!! Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类...
来源: Laya_社区 发布时间: 20170427
...{ Shake.instance.start(5, 500); Shake.instance.on(Event.CHANGE, this, this.callback); this.console.text = '开始接收设备摇动\n'; } private callback():void { this.shakeCount++; this.console.text += "设备摇晃了" + this.shakeCount + "次\n"; if (this.shakeCount >= 3) { Shake.instance.stop()...
来源: Laya2.0_示例 发布时间: 20251130
...iptError Unexpected token in JSON at position 2429;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 2429 浏览器正常运行,在微信开发工具报错。 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20181026