大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0135 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...n 用于创建该类型对象的方法。 Default value caller: any = null this对象 Returns any 此类型标识的一个对象。 Static getPoolBySign getPoolBySign(sign: string): any[] Defined in laya/utils/Pool.ts:18 根据对象类型标识字符,获取对象池。 Parameters sign: string 对...
来源: Laya3.0_api 发布时间: 20231115
...用,麻烦你再下载试一下看看 迎着风! • 2019-10-31 20:34 this.ballBody.restitution = 5;我试了试还说没反应,然后我又尝试去给他添加Rigidbody3D还是没有结果 Laya_Aaron • 2019-11-01 14:32 @迎着风!:改一下ls 文件里的弹力系数 迎着风! • 201...
来源: Laya_社区 发布时间: 20191031
...下报错。 Incompatible tsconfig option. Module resolves to 'CommonJS'. This is incompatible with rollup, please use 'module: "ES2015"' or 'module: "ESNext"'. 附件 : --> PigGameOpenData.zip 2019-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20191220
... public function send(type:String,url:String,callbackName:String):void { this.type = type; //发送请求 var script:* = Browser.createElement("script"); script.id = "serverlist"; Browser.document.head.appendChild(script); script.src = url; script.type = "get"; Browser.window[callbackName] = callbac...
来源: Laya_社区 发布时间: 20180209
...器。功能同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
...er.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 var testView:TestView = new TestView(); Laya.stage.addChild(testView); __JS__("if(window.conch)") { dd=__JS__("window.loadingView"); dd.loading(100); } }...
来源: Laya_社区 发布时间: 20160918
...onLoad回调方法 Laya.loader.load("res/atlas/ui.atlas", Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```java //创建一个Animation实例 var tl:Animation = new Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); ``` 第三步:添...
来源: Laya2.0_文档 发布时间: 20210715
...node_modules 目录下一直有tslib模块,但是编译还是会报 “This syntax requires an imported helper but module 'tslib' cannot be found”错误,不管noEmitHelpers是不是=false。(两天了,我实在找不到方法了,才@你,大佬) 2020-03-10 0 2 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20200309
...朝向哪里的?代码层面调整是否有效? 我的修改方式: (this.trail.getChildAt(0) as Laya.TrailSprite3D).trailFilter.alignment = 1; 希望官方能解答一下。 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20181219
...ra.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var customMaterial = new CustomTerrainMaterial()...
来源: Laya_示例 发布时间: 20260303