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

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

51. sound manager在MOUSE_OVER事件中无法播放 [ 77%]

...建一个Sprite充当音效播放按钮             var soundButton: Sprite = this.createButton("播放音效");             soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2;             soundButton.y = (Laya.stage.height - so...

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

52. Button 添加事件不执行? [ 77%]

Button 添加事件不执行? Laya.init(1351, 760, Laya.WebGL); let Stage = Laya.stage; let Button = Laya.Button; let Event = Laya.Event; let Handler = Laya.Handler; let rightBtn = new Button(); rightBtn.labelFont = "Microsoft YaHei"; rightBtn.label = 'right'; rightBtn.labelSize = 60; rightBtn.la...

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

53. laya.ui.Button [ 77%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态...

来源: laya_api 发布时间: 20170929

54. laya.ui.Button [ 77%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多...

来源: Laya2.0_api 发布时间: 20190513

55. 关于button的destroy不起作用的问题 [ 77%]

关于button的destroy不起作用的问题 dialogButton = new Button(assets[0]); dialogButton.label = "知道了"; dialogButton.height = 30; dialogButton.width = 80; dialogButton.name = Dialog.CLOSE; dialogButton.pos(20,clientHeight*0.2-dialogButton.height-20); dialogButton.labelColors = "#7FFFD4,...

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

56. 分享:销毁龙骨动画! [ 77%]

...t); Laya.stage.bgColor = "#ffffff"; Stat.show(); var DesBtn:Sprite = createButton("销毁动画"); DesBtn.x = 50; DesBtn.y = 50; Laya.stage.addChild(DesBtn); //创建一个Sprite充当音乐播放按钮 var addBtn:Sprite = createButton("添加动画"); addBtn.x = 250; addBtn.y = 50; Laya.stage.addCh...

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

57. morn UI的Button按钮收到鼠标事件类型不一致 [ 77%]

UI相关问题 morn UI的Button按钮收到鼠标事件类型不一致 如下图,Button按钮收到的鼠标类型和stateMap的键不一样 stateMap赋初始值的时候使用了宏,看来是专门做过处理的,不知道是浏览器版本还是什么问题,我的是Chrome浏览器 版...

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

58. 版本号:2.0.2 beta, 在sound文件夹下音乐播放不了,放入到res文件夹下可播放 [ 77%]

... gap: number = 10;  //创建一个Sprite充当音效播放按钮 var soundButton: Sprite = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height - soundButton.height) / 2; Laya.stage.addChild(soundButton);  //创...

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

59. 列表嵌套另外一个列表 [ 76%]

...文件,避免浏览器的缓存 请问layaide如何创建一个复合的Button 分享一个TS版本的3D2D结合的单机斗地主Demo 移植了一个游戏 代码重新 写的 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的...

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

60. Laya2.0 Label文字缺失 [ 76%]

...错误,多个文字被不相关的同一个文字替换了,如下图 Button 中的文字无法垂直居中 laya2.0 ts脚本需要 import ** from ** 问题 laya2.0 GameConfig怎么更新有scene的脚本? 问题状态 最新活动: 2018-12-17 10:55 浏览: 1422 关注: 3 人 源 • 2018-12-19 ...

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