大约有 389 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0045 秒)
...,加载资源的异步时间。操作可以在场景的生命周期函数onEnable里开始。最好不要1.0和2.0的方法混着用 2019-09-04 0 4 分享 微博 QZONE 微信 155*****831 赞同来自: 你看,我用Laya.Scene.open() 去掉第二个场景页面,也是过不去啊 2019-09-04 0 ...
来源: Laya_社区 发布时间: 20190904
...physics.jointClasspublic class WeldJointInheritanceWeldJoint JointBase Component Object 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持不变,看上去像一个整体 Public Properties Hide Inherited P...
来源: Laya2.0_api 发布时间: 20190513
...aya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注册事件监听 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.socket.on(Laya.Event.C...
来源: Laya3.0_文档 发布时间: 20250310
...url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResol...
来源: Laya3.0_api 发布时间: 20231115
...NDERING WORLDINVERTFRONT Accessors active activeInHierarchy clearColor components cullingMask destroyed displayedInStage farPlane fieldOfView hideFlags id is3D layer maxlocalYDistance nearPlane numChildren orthographic orthographicVerticalSize parent renderingOrder scene skyRenderer timer transform ...
来源: Laya3.0_api 发布时间: 20231115
...别?不是普通的容器吗?增加了什么功能呢? laya 2.0 bug onEnable 分离模式节点没有创建 Button 中的文字无法垂直居中 当屏幕尺寸,缩放模式,横竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 获得节点在stage中的...
来源: Laya_社区 发布时间: 20240110
...url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResol...
来源: Laya3.0_api 发布时间: 20231115
....Point(18,0); cameraOffset:Laya.Point=new Laya.Point(180,570); onEnable(): void { Laya.Physics.I.allowSleeping = false; this.strWorldRoot= this.owner.scene.strWorldRoot; Laya.Physics.I.worldRoot = this.strWorldRoot; } onUpdate(): void { ...
来源: Laya_社区 发布时间: 20231123
... 'px'; document.body.appendChild(this.nativeImg) } onEnable() { Laya.timer.once(1000, this, this.delayShowImg); } delayShowImg() { let canvas = this.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0); let str = canvas.toBas...
来源: Laya_社区 发布时间: 20230323
...ETRICGI_PROBESTEPS WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater...
来源: Laya3.0_api 发布时间: 20231115