大约有 5,082 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0126 秒)
编译时候报错 如下 怎么解决呢 libs/LayaAir.d.ts(4252,38): error TS2694: Namespace 'laya.d3.core' has no exported member 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of ...
来源: Laya_社区 发布时间: 20170814
[LayaAir3]V3.2 | 调试结果不一致,导致无法判断结果? const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { testData = new Laya.Vector3(1, 1, 1); @property(Laya.Camera) camera: Laya.Camera; onStart() { //@ts-ignore window...
来源: Laya_社区 发布时间: 20241029
...重新渲染四五十个Box元素之后 偶尔出现报错:Cannot read properties of undefined (reading 'vertexBufer')/或者一个数组长度有问题,具体啥时候出现这个未知 ,在四五十秒 或者三四十秒会出现。出现之后直接白屏。 在3.2.8 项目没有此问题...
来源: Laya_社区 发布时间: 20250924
...veBaseRenderNode Implements IBaseRenderNode Index Constructors constructor Properties sortingFudge Accessors bounds boundsChange castShadow distanceForSort geometryBounds layer owner receiveShadow renderId renderbitFlag staticMask transform Constructors constructor new NativeBaseRenderNode(): Native...
来源: Laya3.0_api 发布时间: 20231115
小游戏子域程序加载到图集后,取图集内资源报错。 MsgMgr.instance.init(); Laya.timer.once(1000,this,function():void{ beginLoad(); }); private function beginLoad():void { Laya.loader.load("res/images/rank.json", Handler.create(this, onLoaded)); } private function onLoaded():void ...
来源: Laya_社区 发布时间: 20180830
...pe CannonBoxColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation sizeX sizeY sizeZ type Methods _setScale clone cloneTo destroy updateLocalTransformati...
来源: Laya3.0_api 发布时间: 20231102
滤镜怎么取消?会报错! xxx.filters = null; 或者设为[ ] ,""都不行,第二次操作的时候就会报错! 2018-02-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 直接...
来源: Laya_社区 发布时间: 20180210
unity导出的场景,相机节点找不到,移动和属性设置都做不了 var scene:Scene=Scene.load("LayaScene_Main/Main.ls"); Laya.stage.addChild(scene); camera = Laya.stage.getChildByName("Main Camera") as Camera; ....... camera.viewportPointToRay(point, ray); 提示错误:Cannot read ...
来源: Laya_社区 发布时间: 20180415
底层渲染报错,原因未知,偶现 TypeError: Cannot read property '_getSource' of null at Context.drawTriangles (laya.core-56a0e.js:1:260080) at DrawTrianglesCmd.run (laya.core-56a0e.js:1:288118 at Graphics._renderAll (laya.core-56a0e.js:1:300421) at RenderSprite.transform_drawLayaGL [as _...
来源: Laya_社区 发布时间: 20230714
Uncaught ReferenceError: ui is not defined 用的FB,UI是用的IDE做的,其中一个IDE做的UI会报这个错,这个UI的在page文件夹下,导包也倒过去了package ui.page,编译的时候还是去了ui下去找这个页面了 2017-05-25 添加评论 免费帖 --> 分享 微博 QZO...
来源: Laya_社区 发布时间: 20170525