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

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

91. Unhandled promise rejection: Error: Cannot navigate to invalid URL [ 67%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() IDE不能运行调试提示:Chrome error: Error:... TS项目中怎么使用promise Unity导出有光照贴图...

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

92. 2D物理-碰撞过滤器 [ 67%]

....stage.on(Event.MOUSE_OUT, this, this.mouseUp); // let rigidbody = this.curTarget.getComponent(RigidBody); // rigidbody.type = "kinematic"; } mouseMove(e) { let movementX = e.nativeEvent.movementX; let movementY = e.nativeEvent.movementY; this.preMovementX = movementX; this.preMovementY = movementY;...

来源: Laya2.0_示例 发布时间: 20251130

93. laya.components.AnimatorState2D_API3.0 [ 67%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

94. laya.utils.Tween.to的第一个参数可以是个label? [ 66%]

... * 缓动对象的props属性到目标值。          * @param    target 目标对象(即将更改属性值的对象)。          * @param    props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplet...

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

95. 类似于list下的按钮监听 !如何去做。 [ 66%]

...; public function yfqian_GameUi(e:Event):void{ trace("Sprite:",e.target.name) }

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

96. laya.ui.ScrollBar [ 66%]

...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...

来源: laya_api 发布时间: 20170929

97. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 65%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 laya2.0加载3d场景报错Uncaught ...

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

98. localToGlobal获取坐标总是错误! [ 65%]

...hrome出现错误: Error processing launch: Error Could not attach to main target Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5...

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

99. DialogUI,在内部按钮监听事件没效果是引擎设定?还是我用法错误? [ 65%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 关于使用matterjs物理引擎鼠标问题 lookAt的用法 Animation如何加点击事件 关于遍历产...

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

100. laya.net.Socket_API3.0 [ 65%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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