大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0053 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...完成函数,而且也没播完,这个问题, Tween.to(item,{},1000,null,Handler.create(this,this.__delayCall,[item])); 把第二个参数设置成这样{} 应该就好测试出来了,,, 问题出现的频率会高一些, qian • 2018-03-16 16:09 能上传下可以重现的demo么 我...
来源: Laya_社区 发布时间: 20180315
...d("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp) { //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以测试,在单摄像机下时,DrawCall与三角面数...
来源: Laya2.0_文档 发布时间: 20210715
...调用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
...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
...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
...this.otherItem_list.mouseHandler = new Handler(this,otherItem_listRender,null,false); 你试一下在回调otherItem_listRender(){ .skin="" } 里面直接给skin赋值,我平常都是这样用的。 2018-03-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20180321
...包成了一个函数 切回来的时候 把laya Laya全局变量设置为null 之后在重新执行下 引擎库,发现 text无法设置 所以最后还是采用了你这种 销毁孩子 隐藏 这种方法
来源: Laya_社区 发布时间: 20170315
...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
...代替默认的关闭效果,如果不想有任何效果,可以赋值为null * 全局默认关闭效果可以通过manager.closeEffect修改 public var popupEffect:Function = function(dialog:Sprite):void { dialog.scale(1, 1); ...
来源: Laya_社区 发布时间: 20180620
...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