大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
....recharge方法,发起支付返回失败,输出报错如下:Warning: This app is not entitled to use SKPayment requestData. requestData will not be sent. [IAP] Transaction error: 无法连接到 iTunes Store 10 [IAP] SKPaymentTransactionStateFailed经过调试发现IAPManager有如下代码 SK...
来源: Laya_社区 发布时间: 20190510
...var命名为c,那么a组件的运行时代码里就可以直接用a.c或this.c访问到b组件; name是给显示节点对象的命名,请查看API手册里Node部分。同上面的例子,要在a组件的运行时里通过name访问b,要使用getChildByName(c) 2021-01-23 0 0 分享 微博 Q...
来源: Laya_社区 发布时间: 20180625
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from PixelLineSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:296 克隆。 Returns Node 克隆副本。 contains contains(no...
来源: Laya3.0_api 发布时间: 20231102
...tr) > -1 ? str : '='; tStr = StringTool$1.trimSide(tStr.split(str)[0]); this.importDic[tStr] = true; }当然也可以把CodeManager.parseTsImport的函数体也改了,虽然说用不到。改完后保存,重启IDE即可实现功能;如果修改之前已经导出过一次,需要清理一...
来源: Laya_社区 发布时间: 20200727
... • 2018-12-21 12:10 然后你的addchild可以添加在dialog页面,既this.addchild(),不一定要在stage上。因为dialog是最上层页面场景,可能会把你添加在stage上的遮住。 X. • 2018-12-21 14:37 @内涵tv何吓吓:2.0的,我换了一种方法写就可以i了
来源: Laya_社区 发布时间: 20181221
... var index:int = 0; Laya.stage.timerLoop(1, this, function():void{index++;image.alpha = Math.sin(Math.PI*2*(index/24))}) var image:Image = new Image(); image.blendMode = "add"; image.skin = "res/...
来源: Laya_社区 发布时间: 20190110
...自: 代码如下,可是这个页面无法显示 ,且一直报错,"This page contains the following errors:error on line 1 at column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text ...
来源: Laya_社区 发布时间: 20171113
...出报错Uncaught getUint16 error - Out of bounds 莫名其妙的报错,this.getStyle()是null 射线检测报错,outHitInfo.sprite3D=null; 问题状态 最新活动: 2018-10-25 14:42 浏览: 1159 关注: 2 人 123黄 • 2018-10-27 11:30 解决了 http://ask.layabox.com/questio ... 30656
来源: Laya_社区 发布时间: 20181018
...ter(other: any, self: any, contact: any): void { let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody) as Laya.RigidBody; let velocity = rig.linearVelocity; console.log(velocity) } 你把初始弹射改成一个球,你就会发现,这个球,他的水平速度x 小于一定值后就...
来源: Laya_社区 发布时间: 20200307
...018-08-21 11:20:31.548226+0800 game_hao[6707:3937898] new JSWebSocket::this=c41bb4a0 deletgate=c425c050 2018-08-21 11:20:31.548618+0800 game_hao[6707:3937898] WebSocket::init m_host: game.example.com, m_port: 6666, m_path: /ws/ [2018/08/21 11:20:31:5503] NOTICE: Initial logging lev...
来源: Laya_社区 发布时间: 20180821