大约有 1,758 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1080) Laya3.0_api(672) Laya2.0_文档(2) Laya_示例(1) Laya3.0_文档(1) Laya2.0_api(1) Laya2.0_示例(1)
...e:Skeleton; private var index:int;//帧频 private var time:Number; public function DragonDemo() { Laya.init(800,600,WebGL); index=15; mFactory=new Templet(); mFactory.on(Event.COMPLETE,this,omTemLoaded); mFactory.loadAni('NewDragon/NewDragon.sk'); } private function omTemLoaded():void { mArmature=m...
来源: Laya_社区 发布时间: 20170509
...div); } TypeError: Illegal constructor laya.core.js:11687 at Function.getInstance (file:///D:/work/test2/bin/libs/laya.core.js:11687:24) at Function.getInstance (file:///D:/work/test2/bin/libs/laya.html.js:1213:39) at Function._parseXML (file:///D:/work/test2/bin/libs/laya....
来源: Laya_社区 发布时间: 20190926
...本1.7.6laya.ui.min.js:1 Uncaught TypeError: this.preinitialize is not a function at i (laya.ui.min.js:1) at i (laya.ui.min.js:1) at i (laya.ui.min.js:2) at mainUI (layaUI.max.all.js:14) at Function.<anonymous> (laya.core.min.js:1) at e (main.min.js:1) ...
来源: Laya_社区 发布时间: 20170809
...designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in compliance with App Store Review Guideline 2.5.2 and section 3.3.2 of the Apple Developer Program License Agreement. This code, combined with a remote resource, can ...
来源: Laya_社区 发布时间: 20171221
...节点上的,会报 Uncaught TypeError: this.owner.localToGlobal is not a function TypeError: this.owner.localToGlobal is not a function 这个错误. 如果可以用2D引擎挂载到3D物体上,也是可以解决我现在的问题,如果这个方面可以有解决方案,也可以提供一下思路....
来源: Laya_社区 发布时间: 20190714
...nSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) trace('海拔:' + info.altitude + 'm' +...
来源: Laya_社区 发布时间: 20180402
...• 2017-01-06 11:21 "this.sList.getItem(...).getChildByName is not a function" weiyongwill • 2017-01-06 14:39 经过测试在List.mouseHandler中点其他的元素都能通过e.target.name获取到名字,唯独textinput通过e.target.name获取到名字为空,而且e.type为mousedow...
来源: Laya_社区 发布时间: 20170105
...,影响惯性力度和时长。 */ public function startDrag(area:Rectangle = null, hasInertia:Boolean = false, elasticDistance:Number = 0, elasticBackTime:int = 300, data:* = null, disableMouseEvent:Boolean = false, ratio:Number = 0.92):void { 2018-05-0...
来源: Laya_社区 发布时间: 20180428
...类里的Storage 类里的init()方法 (第94行), public static function init():void { __JS__("try{Storage.items=window.localStorage;Storage.setItem('laya', '1');Storage.removeItem('laya');Storage.support = true;} catch(e){}if(!Storage.support)console.log('LocalStorage is not supprot or b...
来源: Laya_社区 发布时间: 20180703
...ass SocketSample { public var socket:Socket; private var byte:Byte; public function SocketSample() { //初始化引擎 this.byte = new Byte(); this.byte.endian = Byte.LITTLE_ENDIAN;//这里我们采用小端; this.socket = new Socket(); this.socket.endian = Byte.LITTLE_ENDIAN;//这里我们采用...
来源: Laya_社区 发布时间: 20180202