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

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

1141. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 49%]

..../res/ui/input (3).png", "../../res/ui/input (4).png"];         Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。     })();     function onLoadComplete()     {         for (var i = 0; i < skins.length; ++i)         {             v...

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

1142. ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 [ 49%]

...相关的链接 提交 3 个回复 jiaoxueoo 赞同来自: cuixueying Laya.loader.load(url, completeFun)加载 在completeFun里才创建你那个UI编辑器里编辑的界面 2017-04-02 1 0 分享 微博 QZONE 微信 kongbu0621 赞同来自: 注意调试控制台的输出,   lose skin mj/Button_...

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

1143. 内置骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...Start() { console.log("Game start"); //加载内置骨骼动画资源 Laya.loader.load("skeleton/Dragon/Dragon.sk").then((templet: Laya.Templet) => { //创建模式为1,可以启用换装 this.mArmature = templet.buildArmature(0); this.mArmature.x = 300; this.mArmature.y = 350; this.mArmature.s...

来源: Laya3.0_文档 发布时间: 20251010

1144. 设置自动竖屏后 打包APP 安装到手机后显示黑屏 不设置自动竖屏又正常 [ 49%]

...],建议开始页面单独建立文件夹打包)             Laya.loader.load("res/atlas/gameUI.atlas",Handler.create(this,this.gameStart));                                   } 2018-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

1145. 模拟器分辨率问题 [ 49%]

...候,会出现stage的宽高变化了:   printScreenInfo("aaa"); Laya.loader.load(resArr, Handler.create(this, this.onResLoaded, [this.mainuiView, winName, zOrder])); printScreenInfo("bbb"); private onResLoaded(parent:Laya.Node, winName:string, zOrder:number):void {     printScreenInfo("ccc");...

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

1146. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 49%]

... ```typescript //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```typescript //创建一个Animation实例 var tl:Laya.Animation = new Laya.Animation(); //...

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

1147. Laya.MiniAdpter.downLoadFile缓存的文件无法读取的问题 [ 49%]

...e { this.DoLoadData(url); } } protected DoLoadData(url:string):void { Laya.loader.load(url, Laya.Handler.create(this, this.OnLoadDataCb)); } protected OnDownloadFileInWxOk(args:any, result:any, data:any):void { console.log("OnDownloadFileInWxOk"); console.log("" + result + ", data: " + data); if (re...

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

1148. 怎么获取手机相册内容 [ 48%]

...(500,500);//初始化引擎 var skins:Array = [ "res/button-1.png" ]; Laya.loader.load(skins, Handler.create(this, onUIAssetsLoaded)); } public function onUIAssetsLoaded():void { var btn:Button = new Button("res/button-1.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对...

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

1149. 关于Pivot和Mask联合使用时的显示问题再次提交 [ 48%]

...showall";         Laya.stage.bgColor = "#232628";         Laya.loader.load("../../res/bg2.png", Handler.create(this, setup));     })();     function setup()     {         var bg = new Sprite();         bg.loadImage("../../res/bg2.png");         Laya.stage.addCh...

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

1150. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 48%]

...图集。 ```java //加载图集成功后,执行onLoad回调方法 Laya.loader.load("res/atlas/ui.atlas", Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```java //创建一个Animation实例 var tl:Animation = new Animation(); //加载动画文件 tl.lo...

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