大约有 193 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0063 秒)
...LayaAir3-IDE)中一个至关重要的组成部分,它使开发者能够通过添加和使用引擎资源商店的第三方插件,或自定义插件来极大地扩展和增强IDE的核心功能。这种扩展性不仅允许开发者针对特定项目需求定制工作环境,还能提高开发...
来源: Laya3.0_文档 发布时间: 20251010
...应该是cullingMask没有同步导致的。 查阅文档后发现,可以通过代码来自行添加。https://ldc2.layabox.com/doc/?nav=zh-ts-4-5-10 编码测试后发现功能是OK的,于是我想了一个办法,为Camera建了一个子对象,通过子对象的名字来标记这个Camera...
来源: Laya_社区 发布时间: 20200110
...NameByIndex(index: number): string Defined in laya/ani/bone/Templet.ts:622 通过索引得动画名称 Parameters index: number Returns string getAnimation getAnimation(aniIndex: number): any Inherited from AnimationTemplet.getAnimation Defined in laya/ani/AnimationTemplet.ts:176 通过索引获取...
来源: Laya3.0_api 发布时间: 20231115
...的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这些生命周期方法,开发者能够更好地管理游戏对象的状态和行为,提高游戏的性能和稳定性。 2.1 全部的生命周期方法列表 全部的生命周期方法如下面列表...
来源: Laya3.0_文档 发布时间: 20251010
...ber Defined in laya/utils/Browser.ts:69 真实平台类型,onMobile等是通过UserAgent判断,可能具有欺骗性 Static supportLocalStorage supportLocalStorage: boolean Defined in laya/utils/Browser.ts:77 表示是否支持LocalStorage Static supportWebAudio supportWebAudio: boolean Defined ...
来源: Laya3.0_api 发布时间: 20231115
...rite3D addGlitterByPositions(position0:Vector3, position1:Vector3):void 通过位置添加刀光。 Glitter addGlitterByPositionsVelocitys(position0:Vector3, velocity0:Vector3, position1:Vector3, velocity1:Vector3):void 通过位置和速度添加刀光。 Glitter clearTimer(caller:*, method:...
来源: laya_api 发布时间: 20170929
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170929
...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...
来源: Laya2.0_api 发布时间: 20190513
...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...
来源: Laya2.0_api 发布时间: 20190513
...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...
来源: Laya2.0_api 发布时间: 20190513