大约有 189 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0105 秒)
...无法自动关联的情况出现后,点击LayaAirIDE中的编辑模式按钮时,如下图所示,会弹出来`工具路径配置`的页面。  点击浏览或者拖动VSCode安装目录的VSCode可执行文件,到工具路径配置面板的第二个输入框,再点保存...
来源: Laya2.0_文档 发布时间: 20210715
...建议全部导入(默认就是)。 所以,我们直接点击`Import`按钮,开始全部导入,即可。  导入完成后,我们可以看到菜单栏多出一个`LayaAir3D`,如下图所示。此时说明,已经导入成功。  ##### 拖...
来源: Laya2.0_文档 发布时间: 20210714
...eInspectorPanel(): InspectorPanel; } 4.2 示例 例如要动态创建一个按钮,可以用以下代码。 let button = IEditor.GUIUtils.createButton(); //它实现的功能其实和以下代码是相同的,只是更加简洁 //let button = gui.UIPackage.createWidgetSync("~/ui/basics/Button/Butt...
来源: Laya3.0_文档 发布时间: 20251010
...ider:Laya.SphereColliderShape = new Laya.SphereColliderShape(0.5); //通过按钮this.castAll状态切换是采用检测全部还是检测第一个 if (this.castAll) { //采用球形碰撞器进行形状检测,检测所有碰撞的物体 this.scene.physicsSimulation.shapeCastAll(sphereCollider, this...
来源: Laya3.0_文档 发布时间: 20251010
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231115
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231115
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231115
...会自动跟随改变。快捷的方法是,点击图5-2所示的fitsize按钮,可以自动按节点当前的宽高适配改变碰撞体的大小,让碰撞体的宽高等于所属节点的宽高。 #### 2.2.5 圆形碰撞体 `CircleCollider`  (图6-1) ##### 半径 `radius...
来源: Laya2.0_文档 发布时间: 20210714
...自: 提个小建议,加个删除原文件(所要覆盖的文件)的按钮 2017-05-21 0 3 分享 微博 QZONE 微信 sfsmmc 赞同来自: 导出时选择Scene,通过Scene.load()加载场景一片漆黑(没有报错)。 但是导出时选择Sprite3D,通过Sprite3D.load()加载显示却...
来源: Laya_社区 发布时间: 20170428