大约有 1,144 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)
Laya_社区(859) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(29) laya_api(2) Laya2.0_api(2)
...,使用对方的变量? A.js:var A=(function(){ function A(){ this.a=0; } })(); var a=new A(); B.js: var B=(function(){ function B(){ this.b=1; } })(); 我想在B.js文件中用A.js的属性a,该怎么操作,请大神帮帮小白。谢谢! 只用代码怎么实...
来源: Laya_社区 发布时间: 20190129
...1=new View(); btn_1.graphics.drawPath(0, 0, path, {fillStyle: "#123456"}); this.addChild(btn_1); btn_1.mouseEnabled=true; btn_1.on(Event.MOUSE_DOWN, this, onClickBt1); 不管怎么点,在这个点击方法里面是不会执行的 2018-07-09 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180709
... var interactionArea; var ape; var mouseX = 0; _proto.onInit = function(){ this.guaSpr.cacheAs = "bitmap"; ape = new Sprite(); this.guaSpr.addChild(ape); ape.loadImage("WBSign/img_guakaituceng.png"); ape.on(Event.MOUSE_MOVE, this, onMouseMove); interactionArea = new Sprite(); interactionArea.blendMo...
来源: Laya_社区 发布时间: 20170615
...aya.Prefab; let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("ItemBox", this._control.targetBox.create, this._control.targetBox); 运行报错: Cannot read property 'create' of undefined targetBox又在 control里面引用一个Prefab 2019-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190826
...ncaught getUint16 error - Out of bounds 调用动画结束on方法,报错this.zombieAnimator.on is not a function 运行报错 Uncaught Can not find scene:GameView.scene undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor 问题状态 最新活动: 2019-06-24 10:22 ...
来源: Laya_社区 发布时间: 20180510
...注: 2 人 15818760256 • 2017-10-20 18:42 是自带的removed事件吗?this.on(Laya.Event.REMOVED,this,onRelease); 这样写对吗js里的。。
来源: Laya_社区 发布时间: 20171016
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of u...
来源: Laya_社区 发布时间: 20200120
...resource/2.webm'; var video = new Laya.Video(); video.on('loadedmetadata', this, function() { console.info(video.width + ',' + video.height); Laya.stage.addChild(video); video.play(); }); video.load(video_url); Laya版本是1.7.4Beta Chrome 58下运行报错 laya.device.js增加跨域属性后解...
来源: Laya_社区 发布时间: 20170508
...ncaught getUint16 error - Out of bounds 调用动画结束on方法,报错this.zombieAnimator.on is not a function 运行报错 Uncaught Can not find scene:GameView.scene undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor 问题状态 最新活动: 2017-01-20 16:57 ...
来源: Laya_社区 发布时间: 20170119
...都是0,spine 输出文件见附件 sk_timelimit.on(Laya.Event.LABEL,this,this.animLabel); private animLabel(data:any) { } var str = "readyGO1"; sk_view.sk_timelimit.play(str,false); 附件 : --> 归档.zip 2018-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180531