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

大约有 1,217 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)

341. F5, 运行后提示找不到 Laya类 [ 67%]

...nt; var Handler = Laya.Handler; var ProgressBar = laya.ui.ProgressBar; var Button = Laya.Button; var Dialog = Laya.Dialog; var Images = Laya.Image; var SKEvent = Laya.Event; var Socket = Laya.Socket; var Byte = Laya.Byte; var Loader = Laya.Loader; var dcodeIO = Browser.window.dcodeIO; var ProtoBuf =...

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

342. 按钮加载皮肤丢失 [ 67%]

...少,直接上代码 先预加载 skinsSecond.push( { url:"allResources/qfbutton.png", type:Loader.IMAGE }); 然后就是一些和服务器交互的操作了,在接到某一条数据,需要用到资源的时候的代码; for (var i:Number = 0; i < allArea.length;i++) {            ...

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

343. 请问怎么实现按钮过度效果? [ 67%]

...-13 0 0 分享 微博 QZONE 微信 甜豆 赞同来自: 已经放弃laya的button组件,不太友好,自己写一个组件吧 2019-06-04 0 0 分享 微博 QZONE 微信 kura 赞同来自: 按钮效果各有各的需求,官方组件支持多个状态吧,其它效果就得自己写了。 2019-0...

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

344. 如何做一个box或者列表展示道具,就像windows的文件浏览器中的大图标方式或者视频app里面的电影列表一样,可以下拉滚动显示? [ 67%]

...:https://layaair.ldc.layabox.com/demo/?2d&UI&List 给list中的button添加点击:https://ask.layabox.com/question/4482   2017-11-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhengguojin101 相关问题 请问LayaAir中...

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

345. cache bitmap size larger than 2048,cache ignored [ 66%]

...x 正交 相机的size。和U3D 正交相机的size啥关系啊! 对ScaleButton所在的容器设置cacheAs="bitmap"是否合适 请问Native下,怎么将二进制的图片转换为bitmap或者texture? 将ui设置为bitmap,当鼠标悬浮在button上时,会导致ui重绘,有什么方法...

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

346. 列表里的元素可以播放动画吗 [ 66%]

...   }              }              var lock :Button = cell.getChildByName("lock") as Button;              if(lock){                  lock.visible = HostData.array[index].lock;//默认角色购买锁定状态赋值           ...

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

347. 点击list的时候触发的e.target永远是被点击的item? [ 66%]

...nerated method stub var cell:Box=my_list.getCell(index) as Box; var my_btn:Button=cell.getChildByName("my_btn") as Button; var my_clip:Clip=cell.getChildByName("my_clip") as Clip; my_btn.on(Event.CLICK,this,onBtnClick,["my_btn"]); my_clip.on(Event.CLICK,this,onClipClick,["my_clip"]); } private funct...

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

348. 苹果上架问题, [ 66%]

...rectly to this message. Guideline 4.0 - Design Your app includes an update button or alerts the user to update the app, but the update button or alert does not link directly to the app’s page on the App Store. Please see attached screenshots for details. Next Steps To resolve this issue, please en...

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

349. 场景管理 · LayaAir3.0文档 · LAYABOX [ 65%]

...lass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Event.CLICK, th...

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

350. Cannot read property 'call' of undefined [ 65%]

...s/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59)    at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:30)    at TouchManager.__proto.sendEvents (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:33...

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