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

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

1431. 热更新有时候会漏掉或者没有正确加载某个js代码文件,导致游戏在运行中因找不到这个文件而报错了。 [ 49%]

...的意思大概是在老的这个文件里找不到对应的函数(not a function),而不是说找不到文件。   至于重启游戏后,可以了,因为重启游戏后,DCC会再次启动更新,更新成功了,自然也就正常了。   所以,要判断一下DCC有没有更新...

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

1432. laya.d3.core.render.RenderContext3D_API3.0 [ 49%]

...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property

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

1433. 个人笔记:失焦或静音状态下播放背景音乐无效的解决方案 [ 49%]

...状态下播放背景音乐无效的解决方案  SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&& (startTime=0); if(!url) return null; SoundManager._recoverWebAudio(); url=URL.formatURL(url); if (url!=Sou...

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

1434. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 49%]

...-01 0 0 分享 微博 QZONE 微信 qian 赞同来自: 用最新版的引擎function changeAction(){//debugger;    if(tActionID%2 == 0)    {        skeleton0.replaceSlotSkinName("head", "h1-tou5", "robotFolder/head");    }    else    {        skeleton0.replaceSlotSkinName...

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

1435. Main无法正常使用,找不到它的定义 [ 49%]

...ight:Number;         private var _oldY:Number;         private function onMuseHandler(type:Event,index:int):void         {             trace("type:" + type.type + "ddd--" + _list.scrollBar.value + "---index:" + index);             var curX:Number,curY:Number;   ...

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

1436. [0]layaair2-cmd 编译bug [ 49%]

...:10)     at Module.load (internal/modules/cjs/loader.js:812:32)     at Function.Module._load (internal/modules/cjs/loader.js:724:14)     at Module.require (internal/modules/cjs/loader.js:849:19)     at require (internal/modules/cjs/helpers.js:74:18) exit:1 [qykings@ cq3]$ [qykings@ cq3]$ [...

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

1437. laya.html.XMLIterator_API3.0 [ 49%]

...A_END CDATA_START COMMENT_END COMMENT_START Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

1438. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 49%]

...父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recover...

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

1439. laya.ui.Dialog_API3.0 [ 49%]

...; public class Dialog_Example { private var dialog:Dialog_Instance; public function Dialog_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, o...

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

1440. 官方DynamicBatchTest照做为什么动态合不了批? [ 49%]

...aya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); var radMatrix = new Laya.Matrix4x4(); var circleCount = 50;   var boxMesh = Laya.PrimitiveMesh.createBox(0.02, 0.02, 0.02); var boxMat = new Laya.BlinnPhongMaterial();...

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