大约有 1,030 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0066 秒)
...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
...方法创建的对象,没办法绑定事件监听? 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
...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
...是其中的一部分! 1.将附件中bin/js/component文件夹中的ScaleButton.js和ScaleButton.xml文件放到下图所示的位置: 2.完成第一个步骤之后切换到文档页面,将第4个大步骤完成 3.这时组件已经能够在UI面板正常显示了,这时先不要着急导出...
来源: Laya_社区 发布时间: 20171115
...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
...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
... 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
...; if (this.confirmBtn == null) { this.confirmBtn = document.createElement("button"); this.confirmBtn.id = "confirm"; this.confirmBtn.innerText = "确定" this.MyBtn.appendChild(this.confirmBtn); } this.newMask = document.createElement("div"); this.modlueDiv.style.visibility = "visible"; var clip...
来源: Laya_社区 发布时间: 20181214
... 3.module.def文件目录跟换到根目录 但是我自定义的ScaleButton的属性在IDE里无法显示,仅显示laya.customUI.xml里的属性,从而无法设置中心点,导致按钮缩放有问题。然而,官方教程里的ScaleButton是有其他属性的! 2017-02-22 0 1 分享 ...
来源: Laya_社区 发布时间: 20170221
...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