大约有 564 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0050 秒)
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...
来源: Laya3.0_api 发布时间: 20231115
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...
来源: Laya3.0_api 发布时间: 20231115
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...
来源: Laya3.0_api 发布时间: 20231115
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...
来源: Laya3.0_api 发布时间: 20231115
...ne3D; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //支付宝小游戏 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabIm...
来源: Laya3.0_文档 发布时间: 20251010
...ipt脚本获取只能通过this.owner.getChildByName("xxx") 等方式获取节点** - **建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用runtime继承式写法,如果是独立小模块,功能单一,建议用script脚本方法,参见IDE新建2d示例项...
来源: Laya2.0_文档 发布时间: 20210715
...sh。 7、2D的Sprite没有相对布局组件,导致Sprite无法对齐父节点。 8、【Laya.stage.frameRate】没有提供高刷接口,无法设置高刷新率(120帧),只能在引擎初始化前使用Laya.Config.FPS=120实现高刷适配。既然支持Windows打包,那也应该适配...
来源: Laya_社区 发布时间: 20240701
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/p...
来源: Laya3.0_api 发布时间: 20231115
...理的旋转平移缩放属性,材质的基本属性,不支持组件跟节点的开启/失效。如果开发者对新的属性有要求,请跟帖反馈,并提供资源文件,我们会根据情况添加。Animator组件中的Avatar必须为空。 模型是哪种格式的? 2018-06-04 0 1 ...
来源: Laya_社区 发布时间: 20180601
...毁 Laya.timer.once(3000,this,function () { //销毁了使用该网格的节点 layaMonkey.destroy(); //对使用资源进行销毁,注意调用资源destroy的话,就算加锁也是会被销毁的。 Laya.Resource.destroyUnusedResources(); }); })); ``` (图4) 调用自动释放前 !...
来源: Laya2.0_文档 发布时间: 20210715