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

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

1941. 小游戏环境下 声音的缓存机制导致更换声音文件失败 [ 48%]

..._audioCache[this.readyUrl]) { event(Event.COMPLETE); return; } var fileObj:Object = MiniFileMgr.getFileInfo(url); if(MiniAdpter.autoCacheFile&& fileObj && fileObj.readyUrl == url) { onDownLoadCallBack(url,0); }else { if(!MiniAdpter.autoCacheFile) { onDownLoadCallBack(url,0); }else { ...

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

1942. 2018-10-26更新了layaAir2.0beta4,bug好多啊 [ 48%]

...t方法添加的)     laya.physics.js:38 Uncaught Error         at Object.box2d.b2Assert (laya.physics.js:38)         at box2d.b2Fixture.Destroy (laya.physics.js:439)         at BoxCollider.__proto._onDestroy (laya.physics.js:1879)         at BoxCollider.__proto._destroy (laya.co...

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

1943. laya.d3.component.volume.VolumeManager_API3.0 [ 48%]

... Accessors reflectionProbeManager volumetricGIManager Methods _updateRenderObject add addMotionObject needreCaculateAllRenderObjects reCaculateAllRenderObjects remove removeMotionObject Constructors constructor new VolumeManager(): VolumeManager Defined in laya/d3/component/Volume/VolumeManager.ts:3...

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

1944. laya.d3.math.BoundBox_API3.0 [ 48%]

.../BoundBox.ts:158 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: BoundBox): void Defined in laya/d3/math/BoundBox.ts:148 克隆。 Parameters destObject: BoundBox 克隆源。 Returns void getCenter getCenter(out: Vector3): void Defined in laya/d3/math/BoundBox.ts:68 获取中心...

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

1945. Laya.Tween.to 有没有监听值的变化的方法? [ 48%]

...。          */         public function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false):Tween {             return _create(target, props, duration, ease, complete, delay, coverBefore, true...

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

1946. laya.d3.core.render.command.DrawMeshInstancedCMD_API3.0 [ 48%]

...dMatrix Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface Inherited method Static property

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

1947. Layabox web 复制一段文字到剪贴板 [ 48%]

...-12-14 15:48 或者引入wx的js 文件调用剪贴板 wx.getClipboardData(Object object) wu语 • 2018-12-14 17:07 你这个代码放到layabox,chrome测试都不过啊,手机微信浏览器也不行,返回的是true,但是没复制到东西 wu语 • 2018-12-15 12:04 还要在index.html...

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

1948. laya.d3.core.material.WaterPrimaryMaterial [ 48%]

...(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial...

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

1949. 艰难的历程 [ 48%]

...一些建筑、河流之类不能行走的地方,再新建对象层(起名object),画了个一个图块(我的是20*20)的矩形,起名Role   代码中,getLayerObject("object","Role") //取到对象层上矩形位置 然后直接用addChild  把角色丢进地图里 打开游戏,角色出现了 ...

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

1950. 微信小游戏开放数据域加载图集里面图片的路径应该怎么填写????官方能给例子吗??? [ 48%]

...amp;& MiniAdpter.isPosMsgYu) { __JS__('wx').onMessage(function(message:Object):void{ if(message['isLoad'] == "filedata") { // trace("------------------------filedata-url:" + message.url); MiniFileMgr.ziyuFileData[message.url] = message.data;//文本数据 }else if(message['isLoad'] == "filenativ...

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