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

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

791. 计时器-间隔循环 [ 72%]

... = new Text(); t.text = text; t.fontSize = 30; t.color = "white"; t.bold = true; t.pivot(t.width / 2, t.height / 2); t.pos(x, y); Laya.stage.addChild(t); return t; } function animateTimeBased() { rotateTimeBasedText.rotation += 1; } function animateFrameRateBased() { rotateFrameRateBasedText.rotatio...

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

792. 进度条滚动无效【已解决】 [ 72%]

...毕,即将进入游戏..." this.panel.visible=false; this.gobtn.visible=true; }else { this.pro.value=progress/100; this.tips.text="游戏正在加载中,当前进度为:"+progress+"%!" } } 2018-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

793. 仿照laya官方demo做了一个视频播放的UI,为啥在微信里不能用? [ 72%]

...esURI("video/guide.mp4"); videoElmt.controls = false; videoElmt.autoplay = true; videoElmt.loop = "loop"; // 阻止IOS视频全屏 videoElmt.setAttribute("webkit-playsinline", true); videoElmt.setAttribute("playsinline", true); // 设置画布上的对齐参照物 let reference: Laya.Sprite = new La...

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

794. laya.html.dom.HTMLDivElement_API3.0 [ 72%]

...个css文件来当style使用,比如: style支持的属性如下: italic:true|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; ...

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

795. loader失败未对_customParse状态进行设置导致后面加载出问题了 [ 72%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 anchor锚点设置不生效 问题状态 最新活动: 2018-03-29 17:38 浏览: 577 关注: 2 人 luo7954 • 2018-03-29 17:45 3d资源加载失败后loader被回收,被回收的loader的customParse属性...

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

796. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 72%]

...s:126 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...

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

797. laya.d3.core.trail.TrailSprite3D_API3.0 [ 72%]

...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...

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

798. 如何判断某个节点是否在舞台显示? [ 72%]

...个回复 cuixueying 赞同来自: 判断 Laya.stage.contains(sp) 是否为true即可! 2016-12-08 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 chanayy123 相关问题 请问LayaAir中如何使图片以圆形的方式显示? 安装l...

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

799. 加载模块报错 [ 72%]

...{ "compilerOptions": { "module": "commonjs", "target": "es5", "sourceMap": true, "moduleResolution": "node", "lib": [ "dom", "es5" ] }, "exclude": [ // "node_modules" ] }报错 ReferenceError: exports is not defined 生成的js是Object.defineProperty(exports, "__esModule", { value: true }); var Col...

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

800. 求问为什么找不到Laya这个问题? [ 72%]

...-web-app-capable' content='yes' /> <meta name='full-screen' content='true' /> <meta name='x5-fullscreen' content='true' /> <meta name='360-fullscreen' content='true' /> <meta name="laya" screenorientation ="landscape"/> <meta http-equiv="X-UA-Compatible" content="IE=edg...

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