大约有 285 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)
...yaAir IDE 使用组件GlowFilterSetter设置阴影,报错undefined。 给button添加组件GlowFilterSetter效果, 运行后报错: 附件 : --> 2020-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...
来源: Laya_社区 发布时间: 20200428
...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
...教程 进入编辑模式 右键Scenes 新建了一个view拖入了一个button,起名btn1,但不知道怎么调用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); function onBtnClick() { alert('222'); } btn1 is not defined 按教程写脚本,实在找不到地方写,...
来源: Laya_社区 发布时间: 20181027
...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
... ) //拿到 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
...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
...会将之前的内容全部赋值给全部input list单个中的单条的button怎么添加点击事件 问题状态 最新活动: 2024-02-23 18:54 浏览: 7191 关注: 3 人 Laya_XS • 2024-02-26 09:44 数据源中如果你存在x和y等跟渲染对象本身属性冲突的属性数据,这个如...
来源: Laya_社区 发布时间: 20240204
...应该怎么打开这个网页呢 请问layaide如何创建一个复合的Button 自定义场景类导出layaMaxUI.ts有前缀导致报错 问题状态 最新活动: 2018-07-03 14:43 浏览: 899 关注: 2 人 万佳乐 • 2018-07-03 16:36 我看了一下 只有骨骼动画被识别了 一个模型...
来源: Laya_社区 发布时间: 20180703
...方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以...
来源: laya_api 发布时间: 20170929
...是其中的一部分! 1.将附件中bin/js/component文件夹中的ScaleButton.js和ScaleButton.xml文件放到下图所示的位置: 2.完成第一个步骤之后切换到文档页面,将第4个大步骤完成 3.这时组件已经能够在UI面板正常显示了,这时先不要着急导出...
来源: Laya_社区 发布时间: 20171115