大约有 288 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0058 秒)
...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
...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
...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_文档 发布时间: 20250103
...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_文档 发布时间: 20250214
...会将之前的内容全部赋值给全部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