大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...
来源: Laya3.0_api 发布时间: 20231115
..._CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createInput(); } private createInput(): void { var inputText: Input = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1;...
来源: Laya_示例 发布时间: 20260303
...后,运行就不显示。 必须手动在View的runtime脚本中加一个this.loadScene("aaa.scene")才能正常显示。 但是我看API中说loadScene是为了兼容老项目用的,新项目用Laya.Scene.load。 包括官方文档也是这么写的: 然而我无论是在主场景的...
来源: Laya_社区 发布时间: 20190911
...ont(); timerFont.loadFont('res/timerfont.fnt', Laya.Handler.create(this, () => { Laya.Text.registerBitmapFont('Name', timerFont); Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); })); } function onLoaded(): void { ...
来源: Laya_社区 发布时间: 20180509
....setData(dataT) } FriendRankListView.prototype.setData = function (data) { this.sList.dataSource = data; } Prajna • 2018-05-16 17:16 什么错贴出来啊? 187*****279 • 2018-05-23 17:55 @Prajna:嗯,代码和报错截图都上传了,帮我看下,谢谢咯
来源: Laya_社区 发布时间: 20180516
.../threeDimen/scene/materialScene/Conventional/layaScene.ls", Handler.create(this, function(scene:Scene3D):void { Laya.stage.addChild(scene); var camera:Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); })); ```
来源: Laya2.0_文档 发布时间: 20210714
...tytime < 1000 改为 deltytime<300 let deltytime =Math.round( time - this._cacheTime); if (deltytime < 300) return; 附件 : --> LayaProjectl.zip LayaProjectl.zip 2025-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20250903
...消息通信,当网断的时候是不是会触发 socket.on(Event.CLOSE, this, onSocketClose);在onSocketClose函数里处理执行逻辑对吧? 问题二:因为对H5不是很了解,想问问有没有像APP一样,直接关闭的语句,比如NativeApplication.nativeApplication.exit(); 现...
来源: Laya_社区 发布时间: 20170206
...取其shinnedMeshRenderer直接点出属性isRender.完事 let mesh = this.owner.getChildAt(1) as Laya.SkinnedMeshSprite3D; console.log(mesh.skinnedMeshRenderer.isRender); 这是我测试时的模型和代码,实际使用根据模型的导出的层级和类型而定。附:我使用的是2.6...
来源: Laya_社区 发布时间: 20181009
... Laya.loader.load("../../res/ui/dialog (3).png", Laya.Handler.create(this, function(){ var dialog = new Image("../../res/ui/dialog (3).png"); dialog.scaleX = 2; dialog.scaleY = 2; var panel = new Panel(); panel.vScrollBarSkin = ""; panel.hScrollBarSkin = "";...
来源: Laya_社区 发布时间: 20180201