• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,258 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)

911. Laya.Handler.create 回调参数问题 [ 55%]

...a.stage.bgColor = "#999911";  ape = new Laya.Sprite();     Laya.stage.addChild(ape); var ag = ["lsd",ape,1,"str"]; ape.loadImage("../laya/assets/res/to1.png",0,0,0,0,Laya.Handler.create(this,graphicsImg,ag));   graphicsImg(ag); }  function graphicsImg(args) { console.log(args); }   //loadIma...

来源: Laya_社区 发布时间: 20180510

912. emoji表情文字乱码 [ 55%]

...      var tSprite=new Sprite();                 this.addChild(tSprite);                 tHTMLChar.setSprite(tSprite);             }         }         return words;     }   2018-10-22 0 0 分享 微博 QZONE 微信 chen 赞同来...

来源: Laya_社区 发布时间: 20180517

913. 请问LayaAirUnityPlugin 1.1.0.unitypackage导出的.lsani文件怎么使用? [ 55%]

... mesh = Sprite3D.load('resources/shuipao.lh');             this.addChild(mesh);             mesh.on(Event.HIERARCHY_LOADED, this, this.OnHierarchyLoaded);                          let ani_names = this.ani_names;             let anies = this.anie...

来源: Laya_社区 发布时间: 20170608

914. Native(android)下创建二维码并显示在页面上 [ 55%]

...;             img.pos(100, 300);             Laya.stage.addChild(img);         }     }      // androidplat,创建二维码     createQrCode(url:string, width:number, height:number):string {         return this._bridge.call("createQrCode", url, wi...

来源: Laya_社区 发布时间: 20200729

915. laya.ui.WXOpenDataViewer_API3.0 [ 55%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayo...

来源: Laya3.0_api 发布时间: 20231102

916. laya.d3.core.Sprite3D_API3.0 [ 54%]

...ildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

来源: Laya3.0_api 发布时间: 20231115

917. laya.ui.LayoutBox [ 54%]

...nherited Public Methods Show Inherited Public Methods MethodDefined By  addChild(child:Node):Node[override] 添加子节点。 LayoutBox  addChildAt(child:Node, index:int):Node[override] 添加子节点到指定的索引位置。 LayoutBox addChildren(... args):void 批量增加子节点 Node...

来源: laya_api 发布时间: 20170929

918. runTime使用(ActionScript-IDE篇(AS3)-组件化开发相关) [ 54%]

...Page.graphics.drawRect(0,0,300,300,"#ffcccc"); //添加到stage Laya.stage.addChild(bgPage); //实例化MonkeyPageUI页面 var monkeyPage:MonkeyPageUI = new MonkeyPageUI(); //为了能够清楚的看到这个页面所在的位置,在此设置设置一个背景色 monkeyPage.graphics.drawRect(0,0,3...

来源: Laya2.0_文档 发布时间: 20210714

919. laya.ui.AdvImage_API3.0 [ 54%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroyChildren dispose drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce f...

来源: Laya3.0_api 发布时间: 20231102

920. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 54%]

...ETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));

来源: Laya_社区 发布时间: 20171116