大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0046 秒)
Laya_社区(371) Laya2.0_文档(52) Laya_示例(34) Laya2.0_示例(30) Laya3.0_文档(22) Laya3.0_api(1) Laya2.0_api(1)
...ivate cameraEventFlag: Laya.CameraEventFlags = Laya.CameraEventFlags.BeforeImageEffect; private camera: Laya.Camera; private renders:Laya.BaseRender[] = []; private materials:Laya.Material[] = []; public static instance: CommandBuffer_Outline ; ...
来源: Laya_社区 发布时间: 20210203
...ild(img); ........ onmousemove(e) { //console.log("e="+JSON.stringify(e)); for (var property in e) { console.log(property+"="+e[property]); } console.log("========================"); /**这里是运行后,在img上拖动给出的属性,没有鼠标的xy的坐标 * * _stoped=false game.js:116 nat...
来源: Laya_社区 发布时间: 20181031
... +' '+App.uid +' '+param.players[0].gold); for (var key in data.players) { if(data.players[key].uid ==App.uid) { this._ownerGold = data.play...
来源: Laya_社区 发布时间: 20180109
...ode.js > code.min.js Parse error at code.js:107395,26 for(var cType of arr) ^ ERROR: Unexpected token name «of», expected punc «;» at JS_Parse_Error.get (eval at <anonymous> (C:\Users\fp005\AppData\Roaming\n pm\node_modules\...
来源: Laya_社区 发布时间: 20180411
...ra:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); })); } ``` 我们点击加载场景,再来看状态。 (图2) 在场景显示出来后,我们可以看到在 **Stat** 面板中 **...
来源: Laya2.0_文档 发布时间: 20210715
...怎么赋值,我这样写赋值不好使, b456410 • 2018-04-10 13:26 for (var i = 0; i < 10; i++) { data1.push({ m_label: "112" }); } this.m_list.array = data1;
来源: Laya_社区 发布时间: 20180323
...= scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); })); } ``` 我们点击加载场景,再来看状态。 (图2) 在场景显示出来后,我们可以看到在 **Stat** 面板...
来源: Laya2.0_文档 发布时间: 20210715
... public static setGray(node: Laya.Node, set: boolean) { for (var i = 0; i < node.numChildren; i++) { let sprite = node.getChildAt(i) as Laya.Sprite; if (sprite) { //if (sprite instanceof Laya.Text) { ...
来源: Laya_社区 发布时间: 20170717
...ts.Event):void { var touches: Array<any> = e.touches; if (touches) { for(let i=0;i<touches.length;i++){ let t =touches[i]; let nameIndex =e.touchId + "_" + i; console.log(nameIndex+":"+e.type); } } } 之能收到down和move! 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20181102
...而laya.tiledmap.js的源码中是这样的 var tArray=tJsonData.tilesets; for (i=0;i < tArray.length;i++){ tileset=tArray[i]; tTileSet=new TileSet(); tTileSet.init(tileset); if (tTileSet.properties && tTileSet.properties.ignore)continue ; this._tileProperties[i]=tTileSet.tileproperties; ...
来源: Laya_社区 发布时间: 20180326