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

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

3911. [分享]微信小游戏声音资源批量加载卡住,临时解决方案 [ 48%]

...xmini.js的MiniSound类中,增加函数           __proto.resetPlay=function(){ this._sound.stop(); this._sound.volume = 1; this._sound.offPlay(); }          2 在MiniSound类的onDownLoadCallBack函数中,this._sound.onError(MiniSound.bindToThis(this.onError,this));          这...

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

3912. laya.d3.graphics.VertexElementFormat_API3.0 [ 48%]

...gle Vector2 Vector3 Vector4 getElementInfos Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

3913. 使用layacmd资源版本管理时,与res相同目录的未打包的大图片改怎么处理呢 [ 48%]

...am originURL 源路径 * @return 格式化后的新路径 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest["resource/"+originURL]) return manifest["resource/"+originURL] + "/resource/" + originURL; return originURL; ...

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

3914. laya.d3.component.animator.AnimatorStateNumberCondition_API3.0 [ 48%]

...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface Inherited accessor

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

3915. laya.d3.core.render.InstanceRenderElement_API3.0 [ 48%]

...ileShader recover updateInstanceData create Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Inherited property Inherited method Enumeration Interface Static method

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

3916. laya.particle.ParticleSetting [ 48%]

...n计算结束弧度。Constructor DetailParticleSetting()Constructorpublic function ParticleSetting() 创建一个新的 ParticleSettings 类实例。 Method DetailcheckSetting()method public static function checkSetting(setting:Object):void Parameters setting:ObjectFri Sep 29 2017, 06:34 PM +08:00

来源: laya_api 发布时间: 20170929

3917. Event.DRAG_MOVE事件的回调函数中不能拿到event对象是怎么回事? [ 48%]

...下代码即可复现。 ape.on(Laya.Event.DRAG_MOVE, this, onDragMove); function onDragMove(e){ alert(e) } 2017-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ymsdandan 赞同来自: 你是用什么脚本...

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

3918. [LayaAirIDE3]启动脚本的bug [ 48%]

...ya.addAfterInitCallback两个函数都能进断点的,唯独export async function main里设的断点无效啊,可以让断点生效吗?   我突然又想到把main里的Laya.Scene.open('Scene.ls');这句代码删掉看看效果。 结果又发现个bug,应该算吧,就是那启动脚本...

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

3919. 微信开发者工具出现错误:Laya3D init error must support webGl [ 48%]

...ptError alert is not defined ReferenceError: alert is not defined     at Function.Laya3D.init (http://127.0.0.1:38102/game/code.js:67387:4)     at new Main (http://127.0.0.1:38102/game/code.js:111146:16)     at http://127.0.0.1:38102/game/code.js:111237:1     at require (http://127.0.0.1:381...

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

3920. 设置自动竖屏后 打包APP 安装到手机后显示黑屏 不设置自动竖屏又正常 [ 48%]

...手机后显示黑屏 不设置自动竖屏又正常         public function LayaSample()         {             //初始化引擎,建议增加WebGl模式             Laya.init(720, 1280,WebGL); //            Stat.show();             //全屏不等比...

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