大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
.../t1.json", "res/tiledMap/2201001.png"], Laya.Handler.create(this, () => // // { // this.tiledMap.createMap("res/tiledMap/t1.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded)); // conso...
来源: Laya_社区 发布时间: 20201230
...些动态属性而已,具体如下: 1.在库中新建影片剪辑,右键-->组件定义. 2.点"+ "号,定义一个speed属性. 3.拖入到舞台,把speed改为任意值,不能是默认的. 4.在时间轴第一帧,如下图所示,调试输出 5.用layaFlash编译,输出的是undefined 2016-04-08 0...
来源: Laya_社区 发布时间: 20160407
...只执行一次 onAwake(): void { Laya.loader.load(this.skins).then(() => { this.createBtn(); this.createvbox(); // 添加VBox组件 this.owner.addChild(this.vbox); }); } // 创建Button组件 private createBtn(): void { this.btn1 = new Laya.Button(this.skins); this.btn2 = new Laya.Button(this.sk...
来源: Laya3.0_文档 发布时间: 20251010
...nnected"); // 发送字符串 this.socket.send("demonstrate <sendString>"); // 使用output.writeByte发送 var message: string = "demonstrate <output.writeByte>"; for (var i: number = 0; i < message.length; ++i) { // 直接写缓冲区中的数据 this.output.writeByte(message.charCo...
来源: Laya3.0_文档 发布时间: 20250104
...le.log(generatedPosition); } // consumer.destroy(); } main().catch(error => console.log(error.message)); 6、在cmd中运行:node convertSourceMap.js "at t.ClearYeMan (http://cangqiong.17dawan.com/v ... 341015)" "F:\\jenkins_workspace\\branch\\0707\\release\\sourcemaps\\js\\bundl...
来源: Laya_社区 发布时间: 20190528
... 在Laya中使用Matter需要在index.html的“<!--jsfile--startTag-->”标签前面添加下面的引用 (libs/matter.js 和libs/LayaRender.js) 然后创建一个Matter_getStart.js (代码如下)var Matter = window.Matter; // module aliases var Engine = Matter.Engine, Render = Ma...
来源: Laya_社区 发布时间: 20170905
...都没法用喽,像字典类Dictionary,Timer,ByteArray,Vector.<>之类的。 另外显然的AS3事件机制全体阵亡喽?比如全部使用laya.event里面的事件机制是吗? 另外一些AS3非常常用的第三方库TweenMax之类的,显然也是无法用的喽?想...
来源: Laya_社区 发布时间: 20170510
...J.ts:93 _shaderInstances _shaderInstances: SingletonList<ShaderInstance> Implementation of IRenderElement._shaderInstances Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderElementOBJ.ts:83 Accessors _geometry get _geometry(): IRenderGeometryElement set _geometry(data: IRenderGeometryElement...
来源: Laya3.0_api 发布时间: 20231115
...\vscode-debugadapter\lib\protocol.js:104:38) at Socket.<anonymous> (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\node_modules\vscode-debugadapter\lib\protocol.js:24:60) at emitOne (events.js:96:13) at Socket.emit (event...
来源: Laya_社区 发布时间: 20170416
...car/Conventional/car.lh",Laya.Handler.create(this,(sp:Laya.Sprite3D)=> { this.car = sp.getChildAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D) })); 源 • 2019-01-11 20:47 @叶子:不算。这样...
来源: Laya_社区 发布时间: 20190111