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

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

11. 脚本组件的使用(TypeScript-2D进阶篇(TS)-扩展模块) [ 93%]

...,不过大多情况下是一样的 - name IDE内显示的属性名称 - tips IDE内鼠标经过属性名称上后,显示的鼠标提示,如果没有则使用name(可选) - default 输入框显示的默认值(可选) IDE默认提供了不少类型供脚本使用,主要参数类型如...

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

12. 微信浏览器,input输入完成后,游戏不能还原 [ 93%]

...lor = "#ffffff"; inputText.fontSize = 20; scene.addChild(inputText);  var tip1 = new Laya.Label(); tip1.bgColor = "#666666"; tip1.color = "#ffffff"; tip1.fontSize = 20; tip1.x = Laya.stage.width - 500; tip1.y = Laya.stage.height * 0.8; tip1.text = "问题,输入完成后,键盘收起了,游...

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

13. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 93%]

...port default class TextAncient extends Laya.Script { /** @prop {name:text, tips:"显示文本", type:String, default:"hello world"}*/ public text: string = "hello world"; /** @prop {name:color, tips:"字符串类型示例", type:String, default:"#0000ff"}*/ public color: string = "#0000ff"; /** @pro...

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

14. Sprite-新手引导 [ 91%]

...a = Laya.HitArea; var WebGL = Laya.WebGL; var red; var guideContainer; var tipContainer; var guideSteps = [ { x: 151, y: 575, radius: 150, tip: "../../res/guide/help6.png", tipx: 200, tipy: 250 }, { x: 883, y: 620, radius: 100, tip: "../../res/guide/help4.png", tipx: 730, tipy: 380 }, { x: 1128, y: ...

来源: Laya_示例 发布时间: 20260929

15. Sprite-新手引导 [ 91%]

...项目开发更高效。let guideSteps = [ { x: 151, y: 575, radius:150, tip:"res/guide/help6.png", tipx:200, tipy:250 }, { x: 883, y: 620, radius:100, tip:"res/guide/help4.png", tipx:730, tipy:380 }, { x: 1128, y: 583, radius:110, tip:"res/guide/help3.png", tipx:900, tipy:300 } ], gameContainer, gu...

来源: Laya2.0_示例 发布时间: 20260929

16. list渲染问题 [ 88%]

...,但是2个Box的height加上间距是超出list的height; Box里有个tips按钮,注册了点击事件,点击弹出tips图片; 当点击某一个单元格的tips按钮,出现tips图片后,会使这个单元格不显示,需要重新滚动list,才能重新显示消失掉的单元格...

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

17. laya.effect.ButtonEffect_API3.0 [ 87%]

... in laya/effect/ButtonEffect.ts:35 backEase prop {name:backEase,type:ease, tips:"恢复缓动类型"} effectEase effectEase: string Defined in laya/effect/ButtonEffect.ts:30 effectEase prop {name:effectEase,type:ease, tips:"效果缓动类型"} effectScale effectScale: number = 1.5 Defined in laya/e...

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

18. 模板@prop如何使用枚举 [ 85%]

模板@prop如何使用枚举 /** @prop {name:editOptionType, tips:"", type:EditOption, option:"aaa,bbb,true", default:"bbb"}*/ public editOptionType:string = "bbb";这样使用字符串是可以的,但是我现在需要显示自己定义的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeE...

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

19. layaAir自定义组件设置默认参数无效 [ 85%]

...oup="公用,常用,宽高及位置" drag="3"> <prop name="scaleTime" tips="缩放使用时间" type="number" default="100" group="常用"/> </ScaleButton> <MenuBtn className="laya.customUI.MenuBtn" inherit="Component" skinLabel="skin" resName="mbtn" icon="mbtn" group="公用,常用...

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

20. ToolTip鼠标悬停的使用 [ 84%]

ToolTip鼠标悬停的使用 2016-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 cuixueying 赞同来自: lexnewgate 应广大开发者的需求,我们提供了鼠标提示管理类TipManager,以此来...

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