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

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

941. Cannot read property 'call' of undefined [ 50%]

...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59)    at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...

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

942. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 50%]

...phics.drawCircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); ``` ![图片1.png](https://official.layabox.com/laya_data/Chinese/LayaAir_AS3/2D/advanced/PerformanceOptimization/CPU/img/1.png) (图1) ...

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

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

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

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

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

945. laya.ui.Button [ 50%]

...All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显...

来源: Laya2.0_api 发布时间: 20190513

946. input text中文输入法时会调用3次INPUT事件 [ 49%]

...put text中文输入法时会调用3次INPUT事件 this.input_text.on(Laya.Event.INPUT, this, this.onInput);   //切换到中文输入法,输入数字,会调用三次,而英文输入法不会 private onInput(ipt: Laya.TextInput) {         console.log("这里会调用三次"); } 2017-05-15...

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

947. laya.ui.CheckBox [ 49%]

...ll Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显...

来源: Laya2.0_api 发布时间: 20190513

948. laya.d3.terrain.TerrainChunk [ 49%]

...lasses | Index | Frames No Frames TerrainChunkProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainChunkInheritanceTerrainChunk RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainChunk 类用于创建地块。 Public Properties Hide Inherited Public Propert...

来源: Laya2.0_api 发布时间: 20190513

949. laya.ui.DialogManager [ 49%]

...asses | Index | Frames No Frames DialogManagerProperties | Methods | Events Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意...

来源: laya_api 发布时间: 20170929

950. layaAir 打包成apk后在真机上运行 使用粒子时报错 [ 49%]

... (http://192.168.1.240:8900/bin/ ... :11690)                at e.i.event (http://192.168.1.240:8900/bin/ ... 1:9149)                at e.n._endLoad (http://192.168.1.240:8900/bin/ ... :27979)                at e (http://192.168.1.240:8900/bin/ ... :27286)              ...

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