大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0063 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...pt { //在舞台上添加鼠标事件监听 Laya.stage.on(Event.MOUSE_DOWN,this, onMouseDown); } //点击触发事件 private function onMouseDown():void { //记录点击到舞台上的点 point.x = MouseManager.instance.mouseX; point.y = MouseManager.instance.mouseY; //产生射线 _camera.viewport...
来源: Laya2.0_文档 发布时间: 20210715
...", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height),Handler.create(this,onComplete)); } private function onComplete():void { // TODO Auto Generated method stub trace(tiledMap.tileWidth,tiledMap.tileHeight); } 2016-07-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20160717
...件? parent加载了child1,child2,child3, parent.on(Event.MOUSE_DOWN, this, function(){ trace("parent被点击了!"); }); 其中child1,child2,child3都是load图片的Sprite,为何parent(它也是个Sprite)识别不到鼠标事件? 2017-03-12 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20170312
...eScript脚本写控制摄像机移动的功能, var yPRElem:Float32Array=this.yawPitchRoll.elements; 附件 : --> 2019-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 可能是...
来源: Laya_社区 发布时间: 20190226
...(目前仅限2.3.0) //灯光开启阴影 directionLight.shadow = true this.addChild(directionLight)2.可产生阴影的物体穿过平面,会在反向出现阴影,如图 // 穿过产生阴影 3.物体不能同时产生和接受阴影,否则会出现如图所示情况 //同时产...
来源: Laya_社区 发布时间: 20191129
...main/SMain.ls"); Laya.stage.addChild(scene); 错误信息: Warning!,this class[MiniAdpter] already exist: Object Error: LoaderManager:unknown file(E:/LayaAir/ZJKZWDT/bin/main/SMain.ls) extension with: ls. at LoaderManager.__proto._create (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.core.js...
来源: Laya_社区 发布时间: 20180523
...***233 赞同来自: geo 监听_ani的完成事件 _ani.on(EVENT.COMPLETE, this, function(){}); 2018-04-28 1 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 谢谢! 2018-05-02 0 0 分享 微博 QZONE 微信 AlexNine 赞同来自: 可以直接在play后面加个回调 function playAni(aniPath...
来源: Laya_社区 发布时间: 20180428
...Image还在加载,Image加载完成后会报错 源码里只判断了url===this._skin && img 没有判断destroyed 2019-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20190312
...ay 赞同来自: Laya.loader.load(urlPath, null, null, "image", 1, true, this._group); load的时候缓存参数要设置为true才能被清理掉,不缓存的资源系统是不管理的,清理得自己处理,比如自己保存资源的引用然后销毁资源 你的加载代码改成以上...
来源: Laya_社区 发布时间: 20180425
...alpha有效果,scalex和scaley没有变化,怎么回事啊? Warning!,this class[MiniAdpter] already exist: Object {init: } class导出问题 Uncaught Can not find class Laya.Text ClassUtils.getClass获取不到Class 脚本重命名后报Uncaught Can not find class 错误 Uncaught Can not find ...
来源: Laya_社区 发布时间: 20170406