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

大约有 3,266 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0078 秒)

3201. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? [ 42%]

...更新-问题解答(最新版本:1.7.16) 请问有没有方法能够获取“鼠标是否处于按下状态”? 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 分享:适配LayaAir版本的PureMVC框架 分享:打地鼠 AS、...

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

3202. laya.physics.joint.DistanceJoint_API3.0 [ 42%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

来源: Laya3.0_api 发布时间: 20231115

3203. 资源回收的清理不干净的bug [ 42%]

...说加载不出来资源 这个是怎么回事? 分享:LayaAir下如何获取图集下的小图资源? 1.7.20beta有bug,帧属性面板打不开 LayaAir2.61 测试版 物理引擎bug 百分百 复现 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 使用layaIDE发布项目...

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

3204. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 42%]

...// 返回值e代表的是item项 private function onTreeRender(e):void { //获取每条Item的alpha属性并赋值给Item对象 if(e._dataSource.isAlpha) { var alphaNum:Number=e._dataSource.isAlpha; e.alpha=alphaNum; }//如果未设置alpha的项,则默认透明度为1 else { e.alpha=1; } }附件...

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

3205. laya.physics.joint.RevoluteJoint_API3.0 [ 42%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

来源: Laya3.0_api 发布时间: 20231115

3206. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...件会自动刷新,无需代码。例如: //下面是UI进程代码 //获取选中的节点 let node = Editor.scene.getSelection()[0]; //修改节点属性,场景里的对象会自动同步,无需手动 node.props.x = 100; //修改组件属性,场景里的对象会自动同步,无需手...

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

3207. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 42%]

...赞同来自: 你可以尝试用描边的shader,用摄像机发射的射线获取到想要描边的对象,再将对象的材质替换为描边材质,我觉得这种效率会比较高 2021-02-04 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定...

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

3208. laya.physics.CircleCollider_API3.0 [ 42%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...

来源: Laya3.0_api 发布时间: 20231115

3209. laya.d3.component.animator.Animator_API3.0 [ 42%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

来源: Laya3.0_api 发布时间: 20231115

3210. []LayaTree v1.0.5版本更新(2021.11.17) [ 42%]

...鱼 赞同来自: 不管是用文件地址还是 网页地址都是不能获取到游戏  用的是LAYA 2.10 2022-04-08 0 1 分享 微博 QZONE 微信 xf5464 赞同来自: 能不能在属性面板里加一个设置drawcallOptimize的选项,跟设置visible和active一样 2022-08-02 0 0 分享 ...

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