大约有 128 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)
...会有很多的障碍物,角色会自动绕过障碍物到达终点。 LayaAir为开发者提供了2D寻路解决方案。自动寻路可以有很多种实现方式。一种比较传统的是使用“A*寻路”算法,很多页游和端游都用到这种技术。在LayaAir中也可以使用这...
来源: Laya3.0_文档 发布时间: 20251010
...处理,当无需使用时,一定要及时回收,或停止循环。 LayaAir提供两种计时器循环来执行代码块。 Laya.timer.frameLoop执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 Laya.timer.loop执行频率依赖于参数指定时间。 Laya.timer.frameLoop(...
来源: Laya3.0_文档 发布时间: 20251010
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hiera...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors ...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ScrollBar" ScrollBar Class ScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/PhysicsDebugDraw" PhysicsDebugDraw Class PhysicsDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/HSlider" HSlider Class HSlider 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/VSlider" VSlider Class VSlider 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不...
来源: Laya3.0_api 发布时间: 20231115