大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...的this._framebuffer会出现错误的情况。将this._framebuffer改为null后发现不闪屏了,然后在mask方法流程中使用rendertexture替换rendertexture2D还会闪屏。目前猜测应该也不是这个问题。 c416288806 • 2022-03-25 19:41 @Laya_Yan:目前排除 _currentActive、_...
来源: Laya_社区 发布时间: 20220319
...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
...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
...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
...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
...时序问题,我们需要在此处添加逻辑代码,确保_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
...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
...同样条件下出现的:“TypeError: Cannot read property 'bitmap' of null at Texture.ts:535(env: macOS,mg,1.06.2405020; lib: 2.25.3) ” 。 现在我们可以先确认两点,第一:已经缓存的资源,假如被删除了,再次使用的时候是否能重新下载呢?第二:当前...
来源: Laya_社区 发布时间: 20250401
...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
...{ 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