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

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

111. laya.ui.Radio [ 82%]

...| Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消...

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

112. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 82%]

...代码:** ```typescript module laya { import Stage = Laya.Stage; import Button = Laya.Button; import Clip = Laya.Clip; import Image = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "res/ui/button-7.png"; private clipSkin: s...

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

113. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 82%]

...法?IOS和Android LayaSample.ts文件如下: // 程序入口 import UIButton = laya.ui.Button; class GameMain{     constructor()     {         Laya.init(600,400);         let body = laya.utils.Browser.document.body;         let input = laya.utils.Browser.createElement(...

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

114. 用laya自带的ui编辑器 编辑了一个ui界面,怎么加载啊? 怎么写代码让这个ui界面, 在程序运行时,显示出来啊? [ 82%]

...th":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp/clip_num.png","clipX":10,"var":"clip"},"type":"Clip"},{"props":{"x":220,"y":1...

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

115. 关于button的destroy不起作用的问题 [ 82%]

关于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

116. VBox与HBox组件,不能对齐button按钮 [ 82%]

VBox与HBox组件,不能对齐button按钮 在Hbox和Vbox中的按钮无法被对齐。  版本是 LayaAir IDE 2.0.1beta 附件 : --> 2019-03-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

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

117. 关于Button Skin 切图问题 [ 82%]

关于Button Skin 切图问题 美术工作按laya button 规则切图的时候总是会出现一两个像素对不齐的情况 例如默认状态时xia下面会看到hua划过或点击状态sha上面的边!!! 刚试了下用python 写了个简单的脚本 应该能让切图轻松一些把  ...

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

118. button的disableColor属性无效,已录屏压缩,怎么解决? [ 81%]

button的disableColor属性无效,已录屏压缩,怎么解决? 附件 : --> QQ录屏20201024142729.rar 2020-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: IDE所用引擎并不是...

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

119. Button连续点击触发MOUSE_OUT事件问题 [ 81%]

Button连续点击触发MOUSE_OUT事件问题 项目中给“Button”分别添加了MOUSE_OVER, MOUSE_OUT,CLICK事件,业务需求是鼠标移到按钮上显示悬浮框,移出按钮关闭悬浮框,但现遇到一个问题,鼠标正常从按钮上移入,移出都没问题,只要在按...

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

120. 谁有飞机大战的图片资源给发一份,谢了啊 [ 81%]

...复制一份一样的? ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! 梦佳老...

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