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

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

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

...就是判断当前会话对象是否存在pagecount属性,不存在就是一次打开设置为1,存在的话就是已经打开,进行累加。并且输出累加次数。编译这个文件,然后用谷歌运行,F12打开控制台发现输出的是1,然后我们不断的刷新页面发...

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

632. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 72%]

...herited from Component.onStart Defined in laya/components/Component.ts:287 一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...

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

633. laya.physics.joint.WheelJoint_API3.0 [ 72%]

...herited from Component.onStart Defined in laya/components/Component.ts:287 一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...

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

634. qq玩一玩 问题 [ 72%]

...无法播放),如果直接用playMusic或playSound直接播放会出现一次播放的时候(即内存中无此声音)则无法播放,调用播放后,等待一段时间(加载完成)再次调用播放此声音就可以播放了,(用load加载声音完成回调函数中调用播...

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

635. websocket 中 protobuf 数据的发送与接收的具体方法是怎样的? [ 72%]

...uired string account = 1; // 账号 required string passwd = 2; // 密码 }一次使用protobuf与服务端通讯,有点疑惑。以往使用json格式的数据通讯时,可以将协议名称写入json里一并发送到服务端;当使用protobuf的时候如何将协议名称和协议内容...

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

636. Laya api 中可能的bug [官方来看] [ 72%]

Laya api 中可能的bug [官方来看] 一次接触layer在使用tiledmap的时候发行object层的物体无法通过zorder设置重新渲染景深,之前开过一个帖子没人鸟,自己动手处理了。 1.tiledmap中的MapLayer复写了Sprite的render方法,使用了自己的_showGri...

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

637. laya.components.Animator2D_API3.0 [ 72%]

...herited from Component.onStart Defined in laya/components/Component.ts:287 一次执行update之前执行,只会执行一次 Returns void onUpdate onUpdate(): void Overrides Component.onUpdate Defined in laya/components/Animator2D.ts:593 帧循环 Returns void play play(name?: string, layerInde...

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

638. laya.d3.core.light.PointLightCom_API3.0 [ 72%]

...herited from Component.onStart Defined in laya/components/Component.ts:287 一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...

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

639. MissingMethodException: Method not found: 'UnityEngine.LightmapData.get_lightmapColor'. [ 72%]

... not found for -lconch TS项目编译报错‘inspector.d.ts' not found’ 一次用,Failed to load resource: net::ERR_FILE_NOT_FOUND调试出现这个结果 发布时提示index.html not found 问题状态 最新活动: 2018-10-29 17:29 浏览: 1534 关注: 2 人

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

640. 读本地文件必须是ASCII编码 [ 72%]

... 2018-05-31 17:51 @Laya_Aaron:谢谢,不是挖坑让你跳,我是今天一次转微信小游戏,目前还不知道怎么真机调试,所以如果编码有什么坑,能提前知道,我们就能先想办法避开,不用等到后面出问题现回来搞。 Laya_Aaron • 2018-05-31 17:...

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