大约有 479 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya_社区(378) Laya3.0_api(21) Laya2.0_文档(21) Laya3.0_文档(20) laya_api(14) Laya2.0_api(14) Laya_示例(6) Laya2.0_示例(5)
...t _updateTimers (game.js:12:296695) at render (game.js:12:296033) at _loop (game.js:12:294702) at loop (game.js:12:189245) at (WAGameSubContext.js:2:146892) 有人遇到过吗? 导去微信后,电脑的开发工具没有报错,用手机扫二维码就报错了 微信页面加载完...
来源: Laya_社区 发布时间: 20200410
...this.rotateTimeBasedText.x, this.rotateTimeBasedText.y + vGap); Laya.timer.loop(200, this, this.animateTimeBased); Laya.timer.frameLoop(2, this, this.animateFrameRateBased); } createText(text, x, y) { const Text = Laya.Text; let t = new Text(); t.text = text; t.fontSize = 30; t.color = "white"; t.bo...
来源: Laya2.0_示例 发布时间: 20251130
timer无法用clear清除的BUG 我又试了一下, 当loop函数用this绑定时,clear无法清除 ,clearAll可以清除 public function startLoop() { Laya.timer.loop(2000,this,this.onLoop.bind(this)); } private function onLoop():void { if(this.stop){ Laya...
来源: Laya_社区 发布时间: 20171108
...声音播放地址。 Returns void Static playMusic playMusic(url: string, loops?: number, complete?: Handler, startTime?: number): SoundChannel Defined in laya/media/SoundManager.ts:353 播放背景音乐。背景音乐同时只能播放一个,如果在播放背景音乐时再次调用本方法...
来源: Laya3.0_api 发布时间: 20231115
...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 loop 赞同来自: 我的是不要勾选开发者工具的es6转es5就好了 2020-06-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 loop 相关问题 laya2.0加...
来源: Laya_社区 发布时间: 20200518
...用能不能去掉。 Cannot read property 'offCanplay' of null Laya.timer.loop() 报错 Cannot read property 'loop' of null Uncaught TypeError: Cannot read property 'load' of null 问题状态 最新活动: 2019-04-24 09:36 浏览: 1676 关注: 2 人 Yangcy • 2019-04-23 17:48 阿西吧。。都...
来源: Laya_社区 发布时间: 20181113
...arAll(caller:*):void 清理对象身上的所有定时器。 Timer frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行(基于帧率)。 Timer frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolea...
来源: laya_api 发布时间: 20170929
...orState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/AnimatorStat...
来源: Laya3.0_api 发布时间: 20231115
...自动播放, // 2. 设置循环属性 this.mediaPlayer.loop = loop; // 3. 检查文件路径 const videoPath = "resources/Media/" + mediaName; // 4. 设置视频源 this.mediaPlayer.source = videoPath; 我没有调用Play方...
来源: Laya_社区 发布时间: 20251022
... Accessors awaked density destroyed enabled friction hideFlags id isSensor loop points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new ChainColli...
来源: Laya3.0_api 发布时间: 20231115