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

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

231. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 64%]

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

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

232. laya.ui.ComboBox_API3.0 [ 64%]

...= "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("resource/ui/button.png", "item0,item1,item2,...

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

233. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 64%]

...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

234. Layabox web 复制一段文字到剪贴板 [ 64%]

...; 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

235. 两个问题都关于LayaAir的ios真机 [ 63%]

两个问题都关于LayaAir的ios真机 碰到个问题,Button组件我稍微改了下,为了实现按下的时候有个变暗的效果 statenum是1的按钮, /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件...

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

236. 求指点3d射线碰撞和UI点击穿透的问题 [ 62%]

...前鼠标位置获取一条射线碰撞集合,然后我又创建了一个Button,点击Button时发现射线也响应了,如何能让点击UI时不进行射线碰撞检测呢?谢谢 2018-01-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

237. dcc服务端应该配置怎么样的环境才能让手机客户端更新资源时能够正确的访问到 [ 62%]

.../10.0.0.114:8900/bin/index.html     然后我在view里面隐藏了两个button,作为改变 用命令 layadcc D:/work/native_test/bin 打包   运行之前的基础apk,然后还是显示旧的view(也就是那两个button依然可见)   另外 还经常出现 05-10 18:07:04.156: I/LayaBox(883...

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

238. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?: boolean): gui.Button; createCheckbox(autoSize?: boolean): gui.Button; createIconCheckbox(flat?: boolean): gui.Button; createRadio(): gui.Button; createComboBox()...

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

239. List滚动条问题 [ 61%]

...了个list,出现两个问题: 1. list不能滚动 2. list item里的button图片显示不出来   item代码如下: (function (_super){ function MarketItem() { MarketItem.__super.call(this); this.size(312, 462); // {id:1,name:"10金豆-测试",price:0.01,title:"10金豆-测试",desc:"测试"...

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

240. UI组件资源命名规则 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...资源文件名前缀 资源文件名前缀缩写 Image 图像 image_ img_ Button 按钮 button_ btn_ ComboBox 下拉框 comboBox_ combo_ TextInput 文本输入 textInput_ input_ TextArea 文本域 textArea_ area_ CheckBox 多选框 checkBox_ check_ Label 显示文本 label_ 无缩写 RadioGroup 单...

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