大约有 14 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0029 秒)
onTriggerEnter(other: any, self: any, contact: any) 参数使用 onTriggerEnter(other: any, self: any, contact: any) 参数使用 2020-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20200416
...序调试器运行正常,真机调试报错 VM128:1 gameThirdScriptError self is not defined;at api request success callback function ReferenceError: self is not defined at new s (game.js:6:16022) at (../../src/script/GameUI.js:10:1) at (../../src/script/GameUI.js:10:1) at (../../src/script/...
来源: Laya_社区 发布时间: 20191030
...rigBody做距离关系绑定 代码片段: onTriggerEnter(other: any, self: any, contact: any) { let pointes = contact.getHitInfo().points; let potSelf = new Laya.Point(pointes[0].x, pointes[0].y); let potOther = new Laya.Point(pointes[0].x, pointes[0].y); self.owner.globalToLocal(potSelf);...
来源: Laya_社区 发布时间: 20190609
... void { this.emit('attack'); } } Manager.ts public CreateCat(): void { let self = this; let cat = new Cat(); cat.Create(); cat.on('attack', function () { self.Change(); }); this.animals.push(cat); } 2019-02-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...
来源: Laya_社区 发布时间: 20190226
... (laya.core.min.js:1) at CreateGuai.js:103 a372853273 • 2018-02-10 12:12 self.filters = []; 给怪物添加滤镜,取消后再添加,多操作几次就这样了。 qian • 2018-02-10 12:13 你看看是不是中英文括号的语法什么的问题 qian • 2018-02-10 12:14 多操作几次有...
来源: Laya_社区 发布时间: 20180210
...博 QZONE 微信 Apple 赞同来自: 应该访问域错误,在拿不到self的域进行了调用,建议加点日志,看到哪就断掉了。 2018-05-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vincent 相关问题 编译调...
来源: Laya_社区 发布时间: 20180505
...); Laya.timer.loop(150, this, showframe); })(); function showframe() { var self = this; var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(dat...
来源: Laya_社区 发布时间: 20170825
...onal onTriggerEnter onTriggerEnter(other: PhysicsComponent | ColliderBase, self?: ColliderBase, contact?: any): void Defined in laya/components/Script.ts:58 3D物理触发器事件与2D物理碰撞事件,开始碰撞时执行 Parameters other: PhysicsComponent | ColliderBase Optional self: Collide...
来源: Laya3.0_api 发布时间: 20231115
...der_id"]; [dict setObject:sCallbackURL forKey:@"backurl"]; [dict setObject:self.gameAppID forKey:@"gameid"]; NSData* pData = [NSKeyedArchiver archivedDataWithRootObject:dict]; [b]payment.requestData = pData;[/b]苹果官方文档(链接)中有明确提示 requestData参数: The default value...
来源: Laya_社区 发布时间: 20190510
...自定义计算工具包--> <script type="text/javascript" src='math.self.js'></script> 打包之后,发生的bug如下: math is not defined ReferenceError: math is not defined at http://127.0.0.1:19768/game/code.js:60:1 at require (http://127.0.0.1:19768/game/__ ... :...
来源: Laya_社区 发布时间: 20190312