大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0214 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...is.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(laya.events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ ...
来源: Laya_社区 发布时间: 20160803
...ers/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:22073:12) at EventHandler.__proto.run (/Users/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:1393:27) at SceneLoader.__proto.event (/Users/yons/Documents/myLaya/demopos/bin/libs/laya.core.js:1164:53) at SceneLoader.__prot...
来源: Laya_社区 发布时间: 20190220
...,Cannot read property 'btSphereShape' of undefined Cannot read property 'events' of undefined Cannot read property '_getBit' of undefined 加载unity5.6.1导出来的场景提示Cannot read property 'charAt' of underfined 添加组件PhysicsCollider 时报 Cannot read property 'btCollisionObject' ...
来源: Laya_社区 发布时间: 20190912
...s.Handler; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; public class LayaSample { private var _stateMachine:StateMachine; public function LayaSample() { ...
来源: Laya_社区 发布时间: 20190416
...的环境是TypeScript) * 各种"undefined",比如matter undefined, Common,Events undefined等等 * 其实主要原因在于 1. laya会根据index.html顺序把各种js写入code.js 2. matter.js在生成code.js后他定义的var Matter并不是全局的,因此导致后面需要调用Matter的地...
来源: Laya_社区 发布时间: 20180516
... Laya.stage.addChild(imag); imag.on(Event.MOUSE_DOWN,this,onDown); imag.on(Event.MOUSE_UP,this,onUP); } private function onDown():void{ imag.startDrag(); } ...
来源: Laya_社区 发布时间: 20170510
... _onEnable():void[override] Widget _onParentResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 WidgetPublic Constants ConstantDefined By EMPTY : Widget[static] 一个已初始化的 Widget 实例。WidgetProperty Detailbottompropertybottom:Number表示距底边的距离(...
来源: Laya2.0_api 发布时间: 20190513
...te"; } //监听QQ内置浏览器切换至后台事件 window.document.addEventListener("qbrowserVisibilityChange", function(e):void{ trace("监听QQ缩小至后台事件:"+(!e.hidden ? "前置显示":"后台隐藏")); isStopLoop = e.hidden; if (e.hidden) { _isVisibility = false; if (_this._isInput...
来源: Laya_社区 发布时间: 20171011
...gt;, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'pos...
来源: Laya_社区 发布时间: 20170123
...file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12657:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:709:27) at ResInfo.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:479:28) at LoaderManager.__proto._end...
来源: Laya_社区 发布时间: 20171219