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

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

2371. 设置声音 在 chrome 的一个警告 [ 50%]

...ginView.login @ LoginView.ts:24 __proto.runWith @ laya.core.js:711 __proto.event @ laya.core.js:488 __proto.sendEvents @ laya.core.js:3263 __proto.onMouseUp @ laya.core.js:3422 __proto.onMouseUp @ laya.core.js:2966 __proto.check @ laya.core.js:2993 __proto.check @ laya.core.js:2986 __proto.check @ l...

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

2372. Mesh.load()加载的模型自动旋转了90°是什么原因? [ 50%]

...关注: 2 人 sfsmmc • 2017-06-01 09:30 是不是必须通过这个 Laya.Event.HIERARCHY_LOADED 回调才能获取到子节点? 还有Laya.MeshTerrainSprite3D.createFromMesh(terrain, 129, 129)放大了地形面积,如何保证和原场景吻合呢? sfsmmc • 2017-06-02 09:43 可以帮忙回...

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

2373. laya3.0.4 动态创建UI3D的大bug问题!!! [ 50%]

...请问layaide如何创建一个复合的Button 富文本下划线绘制bug event自定义事件的问题 问题状态 最新活动: 2023-09-14 20:31 浏览: 5543 关注: 2 人 终点其实是起点。 • 2023-09-15 08:48 其实我一直不理解scale.x = 1;scale.y = 1;与new Vec2(1.0, 1.0)有什么...

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

2374. laya.ui.Panel [ 50%]

... All Classes | Index | Frames No Frames PanelProperties | Methods | Events Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Prope...

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

2375. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

... 记录当前皮肤状态 //播放停止后执行逻辑 this.owner.on(Laya.Event.STOPPED, this, () => { // 通过三元运算符切换皮肤名称 currentSkin = currentSkin === "full-skins/girl" ? "full-skins/girl-blue-cape" : "full-skins/girl"; this.spine3D.skinName = currentSkin; this.spine3D.p...

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

2376. Laya2.7.1 射线提示rayCast未定义 [ 50%]

... Laya.Vector3( -15, 0, 0), true, false); } onEnable() { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this._onStageDown); } _onStageDown() { //创建一个点 var point = new Laya.Vector2(); var outHitResult = new Laya.HitResult(); //创建一个射线 var ray= new Laya.Ray(new Laya.Vector3(0, 0, 0), new...

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

2377. 一个list钟我添加了renderHandler回调但是里面的初始化回调执行了两次!!! [ 50%]

...,index) { var btn=item.getChildByName('btn_true'); trace(btn); btn.on(Laya.Event.CLICK,this,function(){ trace("dadasdads"); }); } cuixueying • 2017-08-04 11:36 把可以运行的例子上传下,谢谢! rabee • 2017-10-12 10:49 @cuixueying:我也遇到了这个问题,这个已经...

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

2378. 有关Laya3D碰撞检测疑问 [ 50%]

...F40"; Laya.stage.addChild(this.label);  //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function (): void { var str: String = ""; for (var i: number = 0; i < this._outHitAllInfo.length; i++) { str += this._outHitAllInfo.sprite3D.name + " "; } if (this._outHitAllInfo.length == 0) { str = ...

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

2379. TypeError: Cannot read property 'GetType' of null [ 49%]

...错TypeError: texture.getIsReady is not a function Cannot read property 'events' of undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor Uncaught TypeError: GlowFilter is not a constructor 问题状态 最新活动: 2019-04-21 09:11 浏览: 2358 关注: 3 人 ippon • ...

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

2380. 预加载进入游戏界面 [ 49%]

...    * <p>加载资源。资源加载错误时,本对象会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。</p>          * <p>因为返回值为 LoaderManager 对象本身,所以可以使用如下语法:Laya.loader.load(...).load(...);...

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