大约有 326 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0056 秒)
...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node hasListener(type:String):Boolean 检查 EventDispatcher 对象...
来源: Laya2.0_api 发布时间: 20190513
...次获取组件带来不必要的性能开销 thi s._loveControl = this.getComponent(LoveControl); //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame(); //点击重置按钮,重新开始 this.button_reset.on(Laya.E...
来源: Laya_社区 发布时间: 20190704
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...
来源: Laya3.0_api 发布时间: 20231115
...niNameByIndex getAnimNum getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds getSlotByName get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListen...
来源: Laya3.0_api 发布时间: 20231115
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...
来源: Laya3.0_api 发布时间: 20231115
...3(-20, 13, 0)); //获取动画组件 pangziAnimator = pangzi.getChildAt(0).getComponent(Animator) as Animator; //AnimationClip的加载要放在Avatar加载完成之后 AnimationClip.load("res/threeDimen/skinModel/BoneLinkScene/Assets/Model3D/PangZi-Take 001.lani", Handler.create(null, function(aniC...
来源: Laya2.0_文档 发布时间: 20210715
...shLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get_top get_transform get_visible get_width globalToLocal h...
来源: Laya3.0_api 发布时间: 20231102
...eMesh.createBox(b, a, c)); var boxCollider: Laya.PhysicsCollider = cardOne.getComponent(Laya.PhysicsCollider); if(!boxCollider){ boxCollider = cardOne.addComponent(Laya.PhysicsCollider) as Laya.PhysicsCollider; boxCollider.colliderShape = new Laya.BoxColliderShape(b, 0, c); } this.MainScene3D.addChi...
来源: Laya_社区 发布时间: 20191223
...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoin...
来源: Laya3.0_api 发布时间: 20231115
...shLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get_top get_transform get_visible get_width globalToLocal h...
来源: Laya3.0_api 发布时间: 20231115