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

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

21. url上带有中文参数如何解码 [ 67%]

url上带有中文参数如何解码 var url:String = __JS__('window.document.location.href.toString()'); 可以获取中文地址,获取后,如何解码地址中含有的中文,字母的没有问题 比如 xxx.html?id=1&userName=小明 这个小明进来后是乱码的 2017-06-14 添加...

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

22. laya.maths.Matrix [ 66%]

...umber, y:Number):Matrix 对 Matrix 对象应用倾斜转换。 Matrix  toString():String 返回列出该 Matrix 对象属性的文本值。 Matrix  transformPoint(out:Point):Point 将 Matrix 对象表示的几何转换应用于指定点。 Matrix  transformPointN(out:Point):Point 将 Matrix ...

来源: laya_api 发布时间: 20170929

23. LAYABOX游戏实时语音之APP版本 [ 66%]

...roid:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"> <activity android:name="demo.MainActivity" android:screenOrientation="landscape" android:windowSoftInputMode="stateHidden|adjustPan" android:configChanges="keyboard|keyboardHidden|screenLayout|screenSi...

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

24. laya.maths.Matrix [ 66%]

...umber, y:Number):Matrix 对 Matrix 对象应用倾斜转换。 Matrix  toString():String 返回列出该 Matrix 对象属性的文本值。 Matrix  transformPoint(out:Point):Point 将 Matrix 对象表示的几何转换应用于指定点。 Matrix  transformPointN(out:Point):Point 将 Matrix ...

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

25. [LayaAir3]list.selectHandler [ 65%]

...是否selected执行实现了 学思无涯 • 2024-10-26 14:08 setVal(src:string,val:string,index:number,uiCtrl:MainUICtrl):void{ this.btn.stateNum=1; this.btn.labelAlign="center"; this.btn.labelVAlign="bottom"; this.btn.labelPadding="0,0,1,0"; this.btn.label=val; if(t...

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

26. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 65%]

...r socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.on(Event.CLOSE, this, onSocketClose); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); sock...

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

27. 二次开发(TypeScript-LayaNative原生服务-LayaNative进阶) [ 63%]

...//iOS注意函数签名,注意与Android的不同 alert(bridge.call("testString:","hello")); alert(bridge.call("testNumber:",256.0)); alert(bridge.call("testBool:",false)); obj.value = "Hello OC!"; bridge.callWithBack(function(value) { var obj = JSON.parse(value) alert(obj.value); },"testAsyncCall...

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

28. laya接入fairyGUI的时候资源加载方式? [ 63%]

...@param complete * @param progress * @param priority */ public load(resKey: string, otherLoadData: any, complete?: Laya.Handler, progress?: Laya.Handler, priority?: number) { if (priority) { this.priority = priority; } else { this.priority = 1; } if (progress) { progress.once = false; } let loadData:...

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

29. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 61%]

...回指定对象的完全限定名 */ static getQualifiedClassName(value):string { var type = typeof value; if (!value || (type != "object" && !value.prototype)) { return type; } var prototype = value.prototype ? value.prototype : Object.getPrototypeOf(value); if (prototype.hasOwnProperty("__...

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

30. 怎么打包压缩几个JSON文件有没比较好的做法大家推进下 [ 61%]

...  bytes.uncompress();                          var str:String = bytes.toString();             bytes.clear();             bytes = null;                          var data:Object = JSON.parse(str);     2017-09-08 0 0 分享 微博 QZONE 微信 ...

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