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

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

2411. Laya.Tween.to 用这个做缓动动效, 变动scale值有问题, [ 47%]

...完成函数,而且也没播完,这个问题, Tween.to(item,{},1000,null,Handler.create(this,this.__delayCall,[item])); 把第二个参数设置成这样{} 应该就好测试出来了,,, 问题出现的频率会高一些, qian • 2018-03-16 16:09 能上传下可以重现的demo么 我...

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

2412. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 47%]

...d("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp) { //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以测试,在单摄像机下时,DrawCall与三角面数...

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

2413. TypeError: Cannot read property '_addRenderObject' of undefined [ 47%]

...调用Java PlatformClass undefined Cannot read property 'displayObject' of null 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read property 'props' of undefined XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node...

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

2414. 微信开放数据域(TypeScript-小游戏适配文档-微信小游戏) [ 47%]

...oader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口将json投促函到子域 Laya.MiniAdpter.sendJsonDataToDataContext("jso...

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

2415. 给Dictionary添加个长度 [ 46%]

...unction get(key:*):* { var index:int = indexOf(key); return index < 0 ? null : _values[index]; } /** * 移除指定键名的值。 * @param key 键名对象。 * @return 是否成功移除。 */ public function remove(key:*):Boolean { var index:int = indexOf(key); if (index >= 0) { _keys.splic...

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

2416. 数据、图片路径已加载到数组里面,要如何将图片路径赋值给skin?然后显示到list? [ 46%]

...this.otherItem_list.mouseHandler = new Handler(this,otherItem_listRender,null,false);  你试一下在回调otherItem_listRender(){ .skin="" } 里面直接给skin赋值,我平常都是这样用的。 2018-03-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...

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

2417. 急急 游戏销毁问题 [ 46%]

...包成了一个函数 切回来的时候 把laya Laya全局变量设置为null 之后在重新执行下 引擎库,发现 text无法设置 所以最后还是采用了你这种 销毁孩子 隐藏 这种方法

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

2418. laya.d3.core.material.BlinnPhongMaterial [ 46%]

...t = 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[override] 克隆。 BlinnPhong...

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

2419. popupEffect 有谁能告诉我dialog的这个东西要怎么用啊? [ 46%]

...代替默认的关闭效果,如果不想有任何效果,可以赋值为null          * 全局默认关闭效果可以通过manager.closeEffect修改      public var popupEffect:Function = function(dialog:Sprite):void {             dialog.scale(1, 1);           ...

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

2420. 音频解码一直遇到这个问题呢,不知道什么原因 [ 46%]

...ssetArr,Handler.create(this,this.gameStart),Handler.create(this,onProgress,null,false)); private var assetArr:Array=[ {url:"sound/bgMusic.mp3", type:Loader.SOUND}, {url:"sound/button.mp3", type:Loader.SOUND}, {url:"sound/error.mp3", type:Loader.SOUND}, {url:"sound/...

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