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

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

221. 苹果上架问题, [ 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

222. 使用FD自定义组件编译的时候报错 Error or warning message:customui.max.js [ 66%]

... 3.module.def文件目录跟换到根目录   但是我自定义的ScaleButton的属性在IDE里无法显示,仅显示laya.customUI.xml里的属性,从而无法设置中心点,导致按钮缩放有问题。然而,官方教程里的ScaleButton是有其他属性的! 2017-02-22 0 1 分享 ...

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

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

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

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

224. 点击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

225. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 65%]

...ted Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRGamepad" ButtonGamepad Class ButtonGamepad 类用来描述gamepad Button Hierarchy EventDispatcher ButtonGamepad Index Constructors constructor Properties handness index EVENT_PRESS_ENTER EVENT_PRESS_OUT EVENT_PRESS_STAY EVENT_PRESS_V...

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

226. 老师,请问一下如何在js代码中,动态的创建一个按钮(或者图片、lable)并添加到一个box中? [ 65%]

...方法创建的对象,没办法绑定事件监听? var bt = new Laya.Button("comp/btn_start.png","测试按钮"); bt.on(Laya.Event.CLICK, this, this.click); Laya.stage.addChild(bt); function click() { console.log("??????????"); } 点击之后没有翻译,按钮也...

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

227. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 65%]

...ype++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @private 销...

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

228. [LayaAir3]插件开发中,我需要选择文件夹,如何可视化选择文件夹 [ 65%]

...operties: ["openDirectory"], }, type: "string", }, { name: "", inspector: "Buttons", options: { buttons: [{ caption: "生成", event: "click_start_gen" }] } } ] } ]); Editor.extensionManager.createSettings("SplitAtlasSetting", "project"); } } 2025-07-23 0 0 分享 微博 QZONE 微信 LayaAir小牛 ...

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

229. Laya下怎么实现复制 [ 64%]

...lt;!-- 1. Define some markup --> <div>hello world</div> <button class="btn" data-clipboard-action="copy" data-clipboard-target="div">Copy</button>  <!-- 2. Include library --> <script src="../src/Frame/ThirdLibs/clipboard.min.js"></script>  <!-- 3. I...

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

230. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 64%]

...   export default class LoginScene extends Laya.Scene{ public btnReg:Laya.Button; public btnLogin:Laya.Button;  constructor(){ super();  this.btnLogin.on(Laya.Event.CLICK,this,()=>{ console.log('btnLogin click') }) }  createChildren(){ super.createChildren(); this.loadScene('LoginScene'); } ...

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