大约有 1,832 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1433) Laya3.0_api(161) Laya2.0_api(107) laya_api(70) Laya2.0_文档(34) Laya3.0_文档(23) Laya2.0_示例(2) Laya_示例(2)
...心,只需要知道它有一个create方法实例化节点树。*/ let node = res.create(); }); 1.8 旧版本引擎load和create的兼容性问题 3.0以前的引擎,有Laya.loader.load()和Laya.loader.create()方法两个方法,分别用于加载2D和3D资源。 3.0引擎版本统一使用loa...
来源: Laya3.0_文档 发布时间: 20251010
...090。 4、PC电脑的chrome浏览器与手机数据连接线。 5、安装nodejs 环境 [node官网:https://nodejs.org/en/] 就是下载安装,比较简单,也不细介绍。能在命令行里调起npm命令就算是成功了。 6、安装ADB ADB可以用于授权,以及发布推送等,...
来源: Laya3.0_文档 发布时间: 20251010
...? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 关于使用matterjs物理引擎鼠标问题 预设怎么...
来源: Laya_社区 发布时间: 20180604
...eveco Studio 构建日志:/Applications/DevEco-Studio.app/Contents/tools/node/bin/node /Applications/DevEco-Studio.app/Contents/tools/hvigor/bin/hvigorw.js --mode module -p module=entry@default -p product=default -p requiredDeviceType=default assembleHap --analyze=normal --parallel --incremental -...
来源: Laya_社区 发布时间: 20250106
...示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状...
来源: Laya_社区 发布时间: 20170418
... private particle3D: Laya.ShurikenParticleRenderer; @property( { type:Laya.Node } ) //节点类型 private scnen2D: Laya.Node; @property( { type:Laya.Box } ) //拿到 Box 组件 private box: Laya.Box; @property( { type:Laya.List } ) //拿到 List 组件 private list: Laya.List; @property( { type:Lay...
来源: Laya3.0_文档 发布时间: 20251010
...i); } //找出所有ui下的Button包括子节点下 searchButton(ui: Laya.Node) { for (let i = 0; i < ui.numChildren; i++) { let child = ui.getChildAt(i); if (child instanceof Laya.Button) { console.log("发现Button"); this.onButtonScaleEvent(child); } else { //查找子节点 this.searchButton...
来源: Laya3.0_文档 发布时间: 20251010
...ge off offAll offAllCaller on once cacheRes clearRes clearResByGroup createNodes getAtlas getBaseTexture getRes getTexture2D registerLoader setGroup warn Constructors constructor new Loader(): Loader Defined in laya/net/Loader.ts:176 创建一个新的 Loader 实例。 注意:请使用Laya.loader...
来源: Laya3.0_api 发布时间: 20231115
...rawCall DrawCall FPSStatUIParams FrustumCulling GPUMemory InstanceDrawCall NodeStatUIParams OpaqueDrawCall ParticleRenderNode RenderNode RenderTextureMemory SkinRenderNode Sprite3DStatUIParams TextureMemeory TransDrawCall TriangleFace UniformUpload uploadUniformNum Properties Static AllShow AllShow:...
来源: Laya3.0_api 发布时间: 20231115
...因为我们将F5调试配置文件( `launch.json`)已默认设置为node模式,并设置了`LayaAirBuild`的gulp任务。如下图所示。  这与我们之前提到的shell命令`npm run compile`实际上是一样的。打开`package.json`配置文件,可以看到`compil...
来源: Laya2.0_文档 发布时间: 20210714