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

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

501. laya.ui.AsynDialog [ 46%]

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

来源: laya_api 发布时间: 20170929

502. 新手引导在ios浏览器表现异常 [ 46%]

...ideContainer.addChild(maskButton);             maskButton.clickHandler = new Laya.Handler(this, () => {                 if (button) {                     if (button instanceof Laya.Button) {                        ...

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

503. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 46%]

...s" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangfu • 2018-03-16 09:55 这个是主的JS. 数据服务器都能正常接收,但是返回...

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

504. LayaAir1.7.19.1 Beta预加载资源出问题 [ 46%]

...经这样试过,还是加载失败了。 Laya.loader.create(urls, Laya.Handler.create(this, onComplete, [urls]), null, Laya.Scene); 跟Sprite3D有区别吗 188*****949 • 2018-07-26 11:31 这个问题还挺难搞的,因为只在我打包到远端加载的时候才会出问题,本地加载是o...

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

505. 位图字体的制作与使(TypeScript-LayaAir基础篇(TS)-文本) [ 46%]

...pFont = new Laya.BitmapFont(); bitmapFont.loadFont("res/vvv.fnt", new Laya.Handler(this, this.onFontLoaded, [bitmapFont])); } /** * 位图字体加载完成后的回调方法 * @param bitmapFont 实例后的位图字体对象 */ onFontLoaded(bitmapFont: Laya.BitmapFont): void { //如果采系统...

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

506. List 组件做的手风琴Demo [ 46%]

...ld(list);         list.array =this.arr;         list.renderHandler =new Laya.Handler(this,this.updateItem);         this.listArr.push(list); //------------------------------------------------------------------------------ updateItem(cell:Item,index:number){          ...

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

507. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 45%]

...rls.push(`${this.ANIMATION_PATH}move${i}.mc`); Laya.loader.load(urls, Laya.Handler.create(this, () => { for (let i = 1; i <= 8; i++) { const clipPath = `${this.ANIMATION_PATH}move${i}.mc`; // 检查资源是否存在 if (Laya.loader.getRes(clipPath)) { this.loadedClips.push(clipPath); } } cons...

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

508. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 45%]

....Vector3(1, -1, 0)); Laya.Sprite3D.load("h5/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(this,this.ok)); } ok(sp:Laya.Sprite3D):void{ //得到原始Sprite3D this.sp = sp; this.scene3d.addChild(sp); //克隆Sprite3D this.sp2 = Laya.Sprite3D.instantiate(this.sp,null,false); //错开点位置 this.sp2...

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

509. 我浏览在线文档 关于共享材质和自身材质的代码 貌似没有什么不同? [ 45%]

... Laya.loader.create("LayaScene_01/Assets/model/loveScene_jianzhu.lm",Laya.Handler.create(this,this.onCreateComplete)); //预加载完成后回调 private onCreateComplete():void { //创建预加载的模型网格 var mesh:Laya.Mesh = Laya.loader.getRes("LayaScene_01/Assets/model/loveScene_jianzhu.lm...

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

510. discard property,please use transform's property instead [ 45%]

... "res/plane.lh",             "res/LayaMonkey.lh"         ], Laya.Handler.create(this, onComplete));         var _quaternion = new Laya.Quaternion();         Laya.timer.frameLoop(1, null, function () {             Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion...

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