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

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

1211. Web Storage数据存储(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 65%]

...em("key","hello"); Laya.LocalStorage.setItem("data","hello"); var data = {"index":0,"index1":1}; Laya.LocalStorage.setJSON("item",data);//直接传入Object 接口内部转化为JSON字符串存储 ``` 在chrome中运行之后按快捷键F12,结果如下图所示: ![1](img/1.png) 从图中我们...

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

1212. laya.ui.Clip [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横...

来源: Laya2.0_api 发布时间: 20190513

1213. laya.d3.core.particleshuriken.module.GradientSize_API3.0 [ 65%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientSize" GradientSize Class GradientSize GradientSize 类用于创建渐变尺寸。 Hierarchy...

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

1214. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 64%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProce...

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

1215. 我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? [ 64%]

...,点击其中的任何一个list item,触发方法: private onSelect(index:number):void { console.log("当前选择的索引:" + index); //this.theItem = new DlgNote2(); //this.theItem.popup(); Laya.Scene.open("note2Dlg.scene"); } ——就是这里:我希望打开b的...

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

1216. 关于.ui文件生成的ts类如何正确使用这个.ui皮肤,自动生成的代码有误 [ 64%]

...回复 Monica - 知识达人 赞同来自: 不会不存在的,可能是index.html中js引用顺序或者代码逻辑问题;麻烦上传一个有问题的例子,我们看下 2018-03-23 0 5 分享 微博 QZONE 微信 kaiqiw945 赞同来自: 已经上传 3Ddemo.zip 2018-03-23 0 0 分享 微博 QZ...

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

1217. list的selectHandler属性连续点击同一个item不能重复接收事件 [ 64%]

...selectHandler = new Handler(this, onSelect);        function onSelect(index)     {         alert("当前选择的索引:" + index);     }      第一次点击时有事件响应:       再次点击(不要点击其它的列表),就不会有响应事件:   希望能解...

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

1218. 使用wkwebview构建项目成功后,用xcode运行工程,不能正常启动游戏 [ 64%]

...ew,选择单机版,URL为http://nativetest.layabox.com/layaplayer2.0.1/index.html。构建完成后,使用xcode打开工程,运行项目,模拟器上弹出第一个截图。如果选择为非单机版构建出工程后,模拟器上显示附件中的第二个截图。 3.  我的构建配...

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

1219. laya.media.SoundManager_API3.0 [ 64%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/media/SoundManager" SoundManager Class SoundManager SoundManager 是一个声音管理类。提供了对背景音乐、音效的播...

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

1220. laya.effect.FadeOut_API3.0 [ 64%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/FadeOut" FadeOut Class FadeOut 淡出效果 Hierarchy EffectBase FadeOut Index Constructors constructor Properties _extra _s...

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