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

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

1191. http://layaair.ldc.layabox.com/demo/?Text_Scroll 这个场景中只能有一个吗 我加了第二个 就不滚了 [ 48%]

... 2 个回复 186*****260 赞同来自: 发现是 第二个txt的 txt.on(Event.MOUSE_DOWN, this, startScrollText); 这个函数监听不到  屏幕外的txt监听不到?  必须移动到屏幕里面才能加这个代码?  移动到里面也再加也不行啊   在编辑器里做过ui 然后 放2...

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

1192. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 48%]

... at GamePagePlayer.Utils.fitDOMElementInArea (laya.core.js:10340)     at EventHandler.__proto.run (laya.core.js:710)     at Stage.__proto.event (laya.core.js:499)     at Stage.__proto.setScreenSize (laya.core.js:18495) 2018-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

1193. 显示对象的mask缩放为0时遮罩效果不生效 [ 48%]

...ge.addChild(testSp); let i = 0; tmpMask.scaleX = i / 3; Laya.stage.on(Laya.Event.CLICK, this, ()=>{ i = (i + 1) % 4; tmpMask.scaleX = i / 3; }); 附件 : --> 2020-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...

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

1194. laya.ani.bone.Skeleton_API3.0 [ 48%]

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

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

1195. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 48%]

...ll   附Demo。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一...

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

1196. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...ions", inspector: "Buttons", options : { buttons : [ { caption : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以直接this._data = {}; this._data = IEditor.DataWatcher.watch({}); //inspect可以多次调用,将...

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

1197. laya.media.VideoNode_API3.0 [ 48%]

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

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

1198. laya.ui.CheckBox_API3.0 [ 48%]

...th 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

1199. Shader预编译(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 48%]

...官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ var arr:Array; for(var i:int = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["...

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

1200. 【字节小游戏】游戏中播放视频 [ 47%]

...a设置Video的位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement, reference, 0, 0, reference.width, reference.height]); } } new DOM_Video(); 2020-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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