• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 303 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)

161. 我二进制资源load之后,为什么通过getRes获取不到。 [ 69%]

...andler 怎么获取条目 怎样获取浏览器地址传过来的GET参数 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2018-10-11 15:01 浏览: 1631 关注: 3 人 fengzv • 2018-10-11 18:01 因为加载完又给清除了,所以获取不到。我设...

来源: Laya_社区 发布时间: 20180816

162. 导入微信小游戏的时候 [ 69%]

...t ResInfo.onLoaded (http://127.0.0.1:65353/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.j...

来源: Laya_社区 发布时间: 20180228

163. 视频节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...行一次 onAwake(): void { // 鼠标点击触发播放 Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/layaAir.mp4").then(() => { this.video.play(); //播放视频 }); }) } } 如果是在LayaAir IDE中运行,则VideoNode无需通过事件触发播放。但是在Chro...

来源: Laya3.0_文档 发布时间: 20251010

164. 关于mouseThough=true的问题 [ 69%]

...onLoaded():void{ var img:Image = new Image("fish_6.png"); img.on(Event.CLICK,this,onClick); img.mouseThrough = true; Laya.stage.addChild(img); } 代码就这么简单,图片我传到附件里面 shiyang • 2018-03-14 15:55 private function onClick(e:Event):void{ trace("xxxxxxx&quot...

来源: Laya_社区 发布时间: 20180314

165. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 69%]

...nifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的...

来源: Laya2.0_文档 发布时间: 20210715

166. laya.ui.ProgressBar_API3.0 [ 69%]

...in addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

来源: Laya3.0_api 发布时间: 20231115

167. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 68%]

...:10) at ResInfo.onLoaded (http://127.0.0.1:51205/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:51205/game/code.js:711:59) at ResInfo.__proto.event (http://127.0.0.1:51205/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:51205/game/code.js:13152:11) ...

来源: Laya_社区 发布时间: 20180307

168. laya.ui.Tree_API3.0 [ 68%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event filter frameLoop frameOnce fresh freshLayout fromParentPoint getBounds getChildAt getChildByName getChi...

来源: Laya3.0_api 发布时间: 20231115

169. laya.ui.Dialog_API3.0 [ 68%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex...

来源: Laya3.0_api 发布时间: 20231115

170. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 68%]

...示ExpandPage界面)package game { import laya.display.Sprite; import laya.events.Event; public class Btn { private var _owner:Sprite; private var _isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 p...

来源: Laya_社区 发布时间: 20161014