大约有 271 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0048 秒)
...3 个回复 zwy363 赞同来自: 谢谢。应该是: layaMonkey.once(Event.HIERARCHY_LOADED, this, function():void{ //获取Animator动画组件 var zombieAnimator = (layaMonkey.getChildAt(0) as Sprite3D).getComponentByType(Animat...
来源: Laya_社区 发布时间: 20180122
...勾选 场景1跳转场景2的代码 private onynYesBtn(evt: Laya.Event): void { console.log("[BtnClick] [onynYesBtn!]"); //this.yn_board_Cc.selectedIndex = 0; //跳转新场景 Laya.Scene.close("Scene.ls"); this._view.dispose(); ...
来源: Laya_社区 发布时间: 20230517
...roto._onVisibilitychange @ laya.js:4606 __proto.run @ laya.js:7475 __proto.event @ laya.js:322 visibleChangeFun @ laya.js:21598 2017-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 你...
来源: Laya_社区 发布时间: 20171214
... { GameStart.super(this); Laya.stage.on(Laya.Event.KEY_DOWN,LayaSample,Test); } function Test(e){ console.log(e.keycode); } 按下按键后一直输出undefined,在入口类里面却能输出对应按键编号,是...
来源: Laya_社区 发布时间: 20180208
...题 ios原生回调问题 关于Dialog遮罩层移除解决问题的说明 event自定义事件的问题 问题状态 最新活动: 2018-08-16 20:39 浏览: 5141 关注: 3 人 kuma • 2018-07-24 19:47 现在的问题就是如果把微信的js文件引入到本地,在PC端的chrome中是能正确...
来源: Laya_社区 发布时间: 20180724
...机制、时间和其他一些Timer相关的问题 graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2019-05-11 16:44 浏览: 973 关注: 2 人
来源: Laya_社区 发布时间: 20181213
...ERO); this.phasorSprite3D = new Laya.PhasorSpriter3D(); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDown); } private onMouseDown():void{ this.camera.viewportPointToRay(new Laya.Vector2(Laya.MouseManager.instance.mouseX,Laya.MouseManager.instance.mouseY),this.ray); Laya.Physics.rayCast(thi...
来源: Laya_社区 发布时间: 20181020
LayaAir引擎 横竖屏切换,此引擎渲染有BUG Laya.stage.on(Laya.Event.RESIZE, this, this.OnresizeFn); Laya.stage.alignH = "center";//"left"; Laya.stage.alignV = "middle";//"top"; Laya.stage.screenAdaptationEnabled=true; oldWith: number = 0; oldheight: number = 0; HengPing(isFirst: b...
来源: Laya_社区 发布时间: 20180517
...s.d.ts", "node_modules/@types/node/domain.d.ts", "node_modules/@types/node/events.d.ts", "node_modules/@types/node/fs.d.ts", "node_modules/@types/node/http.d.ts", "node_modules/@types/node/http2.d.ts", "node_modules/@types/node/https.d.ts", "node_modules/@types/node/module.d.ts", "node_modules/@type...
来源: Laya_社区 发布时间: 20190227
...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候...
来源: Laya3.0_文档 发布时间: 20240910