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

大约有 21 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0030 秒)

1. 精灵 · LayaAir3.0文档 · LAYABOX [ 100%]

... Mouse Through 鼠标事件与此对象的碰撞检测是否可穿透 Hit Test Prior 指定鼠标事件检测是优先检测自身,还是优先检测其子对象 DrawCallOptimize 是否开启DrawCall优化 Cache As 是否开启静态缓存优化 Mask 设置遮罩节点对象 Hit Area 点击区域 ...

来源: Laya3.0_文档 发布时间: 20240528

2. 想用 FillTexture 图片 设置hit点击区域怎么做? [ 98%]

...收鼠标点击事件,有没有什么办法可以实现? 附件 : --> test.zip 2021-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Fred 赞同来自: 您好,ide内使用fillTexture的问题我们...

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

3. 射线一直无法获取物体 [ 90%]

...     添加物体:  var qb_pet = scene.addChild(Laya.Sprite3D.load("./test.lh"));     qb_pet.once(Laya.Event.HIERARCHY_LOADED, this, function(){         qb_pet.addComponent(Laya.SphereCollider);     });   设置射线:    Laya.timer.frameLoop(1, null, checkHit);     var hit = new...

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

4. ui组件list数据源的疑问 [ 83%]

...750, 1334); //设置适配模式 // Laya.stage.scaleMode = "noborder"; var test=new TeUI(); var arr=; for(var i;i<6;i++){ arr.push({m_lable:"NO."+i}); } console.log(test.m_list) test.m_list.array=arr; Laya.stage.addChild(test); test.show(); })(); 但没有出来想看到的效果,个人对这...

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

5. OntriggerStay不执行 [ 83%]

... 0 0 分享 微博 QZONE 微信 独 赞同来自: 附件中是我的工程 Test1.zip 2019-05-27 0 0 分享 微博 QZONE 微信 独 赞同来自: 附件中是我的工程 Test1.zip 2019-05-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人...

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

6. 官方视频教程中飞机大战 "this.addChild is not a function" [ 82%]

..."TypeError: this.addChild is not a function    at BackGround (file:///D:/test/laya/myLaya/src/BackGround.js:6:14)    at Game (file:///D:/test/laya/myLaya/src/Game.js:6:19)    at file:///D:/test/laya/myLaya/src/Game.js:8:7    at file:///D:/test/laya/myLaya/src/Game.js:9:3"   2018-10-03 添...

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

7. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 78%]

...Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { export class TestSceneUI extends Laya.Scene {         public scoreLbl:Laya.Label;         public tipLbll:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScen...

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

8. 打包native报错 [ 78%]

...ground-color: #1e2028; min-height: 13.0px} 2019-06-18 13:34:08.458935+0800 test1[6479:65523] >>>>>>Thread Mode = single 2019-06-18 13:34:08.459188+0800 test1[6479:65523] 当前应用软件版本:2.0 2019-06-18 13:34:08.459307+0800 test1[6479:65523] 当前应用Local版本号码:1...

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

9. 新手的伤,ReferenceError: CameraMoveScript is not defined [ 75%]

...nceError: CameraMoveScript is not defined at LayaAir3D (file:///E:/layaPro/Test3d/src/LayaAir3D.js:24:29) at file:///E:/layaPro/Test3d/src/LayaAir3D.js:38:1 loader callback cost a long time:179 url=Laya/terrain/terrain_splatalpha0_0_0.png   2018-04-26 0 0 分享 微博 QZONE 微信 为什么被折...

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

10. 绘制形状时事件不触发 [ 73%]

...nt) {         console.log("_____ kbRing2\n");     } } function laya_test() {     Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL);     var ring = new myRing(600, 300, 18, "#087729", 40, "#a87729");     Laya.stage.addChild(ring.sprite); }   laya_test();   代...

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