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

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

1061. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

...源成功后,执行onLoaded回调方法 Laya.loader.load(this.skin,Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个Button实例 var btn:Laya.Button = new Laya.Button(this.skin); //将Button添加到舞台上 Laya.stage.addChild(btn); //设置Button相关属性 bt...

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

1062. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 48%]

...模式都不行 //加载动画 load(aniUrl: string,emoji?:string,complete?:Handler):void{ if (emoji) { this.emoji=emoji; } if (complete) { this.completeHandler = complete; } this.aniUrl = aniUrl; this.templet = new Templet(); this.templet.on(Event.COMPLETE, this, this.parseComplete); // this.templet...

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

1063. laya.ui.TextInput_API3.0 [ 48%]

...e { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load...

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

1064. 自定义Laya.Tab的item,tab注册的selectHandler无法触发到回调函数 [ 48%]

自定义Laya.Tab的item,tab注册的selectHandler无法触发到回调函数 我需要自定义tab里面的item项,在编辑器自定义了tabItem.scene。 在另一个View里面创建3个这个tabItem对象,命名item0,item1,item2,选中转换为容器Tab命名为myTab。 但是在该View...

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

1065. laya.ui.Dialog [ 48%]

...方向中心线的距离(以像素为单位)。 View  closeEffect : Handler 关闭对话框效果,可以设置一个效果代替默认的关闭效果,如果不想有任何效果,可以赋值为null 全局默认关闭效果可以通过manager.closeEffect修改 Dialog  closeHandler : Han...

来源: Laya2.0_api 发布时间: 20190513

1066. 小程序开放域相关 [ 48%]

...Message(onGetMessage);             Laya.loader.load(urlconfig,new Handler( null,onLoaded),null);                          function onLoaded():void {                 trace("urlconfigurlconfigurlconfigurlconfigurlconfigurlconfigurlconfigurlconfigurlconfigv");  ...

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

1067. laya.net.Loader_API3.0 [ 48%]

...url: string | ILoadURL | (string | Readonly<ILoadURL>)[], complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean, useWorkerLoader?: boolean): Promise<any> Defined in laya/net/Loader.ts:204 加载资源。 Parameter...

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

1068. laya.ui.TextArea_API3.0 [ 48%]

... TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/inpu...

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

1069. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 48%]

.../?Particle_T1  ) 主要就是: Laya.loader.load("SnowParticle.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON);           public function onAssetsLoaded(settings:ParticleSetting):void         {             sp = new Particle2D(settings);            ...

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

1070. 加载.atlas动画错误 [ 48%]

...法 roleAni.loadAtlas("http://10.10.20.58/chicken/res ... ot%3B,laya.utils.Handler.create(this,function(){ //添加到舞台 Laya.stage.addChild(roleAni); roleAni.play(); }));     代码就这几行.... 2018-03-22 0 0 分享 微博 QZONE 微信 wdmingzi2 赞同来自: 只是单纯的调用加载...

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