大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...,Handler.create(this,onComplete));}private function onComplete(obj:Object):Void{一个预设变量.json = ojb一个sprite = Pool.getItemByCreateFun("自己起一个名字", this.一个预设变量.create, this.一个预设变量);} 2020-01-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20200104
...meshRender.material = material; Laya.timer.frameLoop(1, this, function (): void { earth1.transform.rotate(this.rotation, false); earth2.transform.rotate(this.rotation, false); }); } } new BlinnPhong_DiffuseMap();package materialModule { import laya.d3.core.BaseCamera; import laya.d3.core.Camera; imp...
来源: Laya_示例 发布时间: 20260303
... 赞同来自: 小丶kiss public close(type?:string, showEffect?:boolean):void{ if(type === "side"){ return; } super.close(type, showEffect) } 刚下载了楼上的zip。方法生效了。表示感谢。 把代码贴出来。免得别人再去下载了。 2018-11-29 1 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180911
...e); 这是加载资源的函数内的代码 1 2 3 4 5 6 7 8 loadPosition():void{ /* let resArray:Array<any>=[ {url:"eyeimf.txt",type:Laya.Loader.TEXT} ] Laya.loader.load(resArray,Laya.Handler.create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eye...
来源: Laya_社区 发布时间: 20171228
...如: // 向游戏引擎传递参数 public abstract void game_plugin_set_option(String key, String value);这个方法传递参数,那么请问在iOS里面是否有类似的借口可以得到修改参数的目的呢?我目前使用的是直接修改了index.js里面的loadAp...
来源: Laya_社区 发布时间: 20190518
...: public static function onGetUniqueIdCompleteHandler($uniqueId:String):void { trace("uniqueId : " + uniqueId); } 结果调用的时候报错如下: 03-23 17:01:51.162 8838-9056/com.korea.googleplay I/LayaBox: alert=undefined:1: SyntaxError: missing ) after argument list ator.LoadingMediator.onG...
来源: Laya_社区 发布时间: 20180323
...urves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 dialog可以点击到外部的元素,如何使其外边不能点击 如何点击屏幕任何区域让模型运动到此...
来源: Laya_社区 发布时间: 20170718
...移动平台立刻弹出键盘的 public function set focus(value:Boolean):void { var input:* = nativeInput; if (_focus !== value) { if (value) { if (input.target) { input.target._focusOut(); } else { _setInputMethod(); } input.target = this; _focusIn(); console.log("获得焦点...........",i...
来源: Laya_社区 发布时间: 20191010
...oad("protocol.proto", this.onLoaded); function onLoaded(err:any, root:any):void{ if (err) throw err; // Obtain message types var msgDefine:any = = root.lookup("protocols.packetc2g_select_gate"); var newMessage:any = msgDefine.create(); } 然后发现里面的成员名字都变了 “_i”变成了...
来源: Laya_社区 发布时间: 20170914
...也遇到了, 怎么解决啊! 2018-08-30 0 0 分享 微博 QZONE 微信 void 赞同来自: 我用as开发,一般都在Chrome上添加断点,编译后函数名以及代码结构都一样 2019-06-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20170519