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

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

131. LayaAir IDE 使用组件GlowFilterSetter设置阴影,报错undefined。 [ 64%]

...yaAir IDE 使用组件GlowFilterSetter设置阴影,报错undefined。 给button添加组件GlowFilterSetter效果,   运行后报错:   附件 : --> 2020-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关链接 提交 0 个回...

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

132. 批量销毁释放内存(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

133. 刚刚接触2天layaair,有几个问题请教。 [ 64%]

...教程 进入编辑模式 右键Scenes 新建了一个view拖入了一个button,起名btn1,但不知道怎么调用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); function onBtnClick() { alert('222'); } btn1 is not defined 按教程写脚本,实在找不到地方写,...

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

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

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

135. 组件装饰器说明 · LayaAir3.0文档 · LAYABOX [ 63%]

... ) //拿到 Label 组件 private label: Laya.Label; @property( { type:Laya.Button } ) //拿到 Button 组件 private button: Laya.Button; @property( { type:Laya.Sprite } ) //拿到 Sprite 组件 private sprite: Laya.Sprite; @property( { type:Laya.Animation } ) //拿到 Animation 组件 private anmat...

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

136. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 62%]

...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_文档 发布时间: 20240918

137. [LayaAir3]为什么list内容会重叠呢 [ 61%]

...会将之前内容全部赋值给全部input list单个中单条button怎么添加点击事件 问题状态 最新活动: 2024-02-23 18:54 浏览: 7191 关注: 3 人 Laya_XS • 2024-02-26 09:44 数据源中如果你存在x和y等跟渲染对象本身属性冲突属性数据,这个如...

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

138. 导出一个大模型 其中有多个元素运动 只有其中一个有动画 [ 61%]

...应该怎么打开这个网页呢 请问layaide如何创建一个复合Button 自定义场景类导出layaMaxUI.ts有前缀导致报错 问题状态 最新活动: 2018-07-03 14:43 浏览: 899 关注: 2 人 万佳乐 • 2018-07-03 16:36 我看了一下 只有骨骼动画被识别了 一个模型...

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

139. laya.ui.Slider [ 61%]

...方法获取。设置为true,对性能有一定影响。 Sprite  bar : Button[read-only] 表示滑块按钮引用。 Slider blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间垂直距离(以...

来源: laya_api 发布时间: 20170929

140. 关于自定义组件使用方式 [ 60%]

...是其中一部分! 1.将附件中bin/js/component文件夹中ScaleButton.js和ScaleButton.xml文件放到下图所示位置: 2.完成第一个步骤之后切换到文档页面,将第4个大步骤完成 3.这时组件已经能够在UI面板正常显示了,这时先不要着急导出...

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