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

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

2581. ios升级到15.4后游戏会一直闪屏,可重现demo见附件 [ 40%]

...的this._framebuffer会出现错误的情况。将this._framebuffer改为null后发现不闪屏了,然后在mask方法流程中使用rendertexture替换rendertexture2D还会闪屏。目前猜测应该也不是这个问题。 c416288806 • 2022-03-25 19:41 @Laya_Yan:目前排除 _currentActive、_...

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

2582. unity插件报错 [ 40%]

...ou are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f23f19a62c944610ba98639869d48a79>:0...

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

2583. laya.d3.renderobjs.nativeobj.NativeIndexBuffer3D_API3.0 [ 40%]

...a/RenderEngine/Buffer.ts:13 _conchIndexBuffer3D _conchIndexBuffer3D: any = null Defined in laya/d3/RenderObjs/NativeOBJ/NativeIndexBuffer3D.ts:9 _glBuffer _glBuffer: IRenderBuffer Inherited from Buffer._glBuffer Defined in laya/RenderEngine/Buffer.ts:7 Accessors bufferUsage get bufferUsage(): number...

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

2584. Sprite用graphics绘制图形后,mouse_over触发scale显示有问题 [ 40%]

...las/comp.atlas", type:Loader.ATLAS}); Laya.loader.load(res, Handler.create(null, this.__onLoaded)); } private __onLoaded(): void { Laya.stage.addChild(new Test()); } } new Entry();   Test.ts import Sprite = Laya.Sprite; class Test extends Sprite{ constructor(){ super(); this._initView(); } private ...

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

2585. 导航标签组组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 40%]

...en( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(e: any = null): void { let tabA: Laya.Tab = this.createTab(this.skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#333333"; let tabB: Laya.Tab = this.createTab(this.skins[1]); tabB.pos(40, 220); tabB.labelColors = "#FF...

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

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

...时序问题,我们需要在此处添加逻辑代码,确保_owner不为null if(_isScal&&_owner) { _owner.on(Event.MOUSE_DOWN,this,onDown); } else { return; } } public function get isScale():Boolean { return _isScal; } public function set isScale(isScal:Boolean):void { this._isScal=isScal...

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

2587. rigidBody.applyForce 对刚体应用力,物体没有移动 [ 39%]

...aya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(null, function (tex) {             planeMat.albedoTexture = tex;         }));         //拉伸UV         planeMat.tilingOffset = new Laya.Vector4(10, 10, 0, 0);         //板的画面的渲染材质   ...

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

2588. [LayaAirIDE3]微信小游戏资源加载失败,提示"删除错误记录:xxxx" [ 39%]

...同样条件下出现的:“TypeError: Cannot read property 'bitmap' of null at Texture.ts:535(env: macOS,mg,1.06.2405020; lib: 2.25.3) ” 。 现在我们可以先确认两点,第一:已经缓存的资源,假如被删除了,再次使用的时候是否能重新下载呢?第二:当前...

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

2589. unity 新建场景,预览报错。 [ 39%]

...ou are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f23f19a62c944610ba98639869d48a79>:0...

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

2590. 复选框组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...{ this.onCheckBoxSkinLoaded(); }); } private onCheckBoxSkinLoaded(e: any = null): void { let cb: Laya.CheckBox; for (let i: number = 0; i < this.COL_AMOUNT; ++i) { for (let j: number = 0; j < this.ROW_AMOUNT; ++j) { cb = this.createCheckBox(this.skins[i * this.ROW_AMOUNT + j]); cb.selected = t...

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