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

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

641. box2d 设置重力时有碰撞 不设置重力时 不发生碰撞 [ 71%]

...来自: 那个不发生碰撞的刚体  issensor 为true了, 设置为false 才能有碰撞 2020-04-20 0 1 分享 微博 QZONE 微信 186*****739 赞同来自:         带有刚体和碰撞,不要设置为触发器,刚体类型设置为 kinematic ,重力缩放设置为1。这样就不...

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

642. 单选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...能说明 默认选中 selected 单选框是否为选中状态,默认为false。设置为true后,单选框会一直保持选中(持续选中)的状态,而不会再对其它状态产生变化(除非在代码中进行状态改变) 纹理 skin 单选框的皮肤纹理资源。设置后需...

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

643. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 71%]

...rkSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false });修改为 return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: true });编辑 tsconfig.json 将 "sourceMap": false 改为 "sourceMap": true{ "compilerOptions": { ...

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

644. laya.particle.Particle2D_API3.0 [ 71%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

645. 2.3.0beta 各种bug [ 71%]

...修改 typescript({                 check: true, //Set to false to avoid doing any diagnostic checks on the code                 tsconfigOverride:{compilerOptions:{removeComments: true}}             }),如果有  async(){ await xxxx }会报这个错误 TS...

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

646. laya.media.SoundNode_API3.0 [ 71%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

647. 在Chrome下Layaair的List组件无法拖动,报如图错误 [ 71%]

...如图错误 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.   附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

648. Button点击函数逻辑bug [ 71%]

Button点击函数逻辑bug onMouse(e) { if (this.toggle === false && this._selected) return; if (e.type === Laya.Event.CLICK) { this.toggle && (this.selected = !this._selected); this._clickHandler && this._clickHandler.run(); return; } !this._selected && (this.state...

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

649. 分包编译第二次结果不正确 [ 71%]

... QZONE 微信 15068753667 赞同来自: 编译命令选项配置quickmode=false可以解决,另外为什么要分包啊,没有必要,加QQ 61496426 详聊 2017-08-20 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 目前确实是有这个问题,可以先在配置中加个...

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

650. 二次开发 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...)); alert(bridge.call("testNumber:",256.0)); alert(bridge.call("testBool:",false)); obj.value = "Hello OC!"; bridge.callWithBack(function(value: any) { var obj = JSON.parse(value) alert(obj.value); },"testAsyncCallback:", JSON.stringify(obj)); } else if (os == "Conch-android") { alert(bridge.call("t...

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