# CocosCreatorFAQ **Repository Path**: liam-xun/cocos-creator-faq ## Basic Information - **Project Name**: CocosCreatorFAQ - **Description**: 大道至简,殊途同归。 CocosCreatorFAQ主要是想要处理一些日常常见的问题。 Cocos Creator FAQ is designed to help users deal with some of their common daily problems. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 39 - **Created**: 2021-10-29 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Cocos Creator FAQ #### Write by yeshao2069. #### Cocos Creator FAQ is designed to help users deal with some of their common daily problems.   ## Cocos Creator FAQ & Moe New Document ## Quick Links | [1. 安装包下载](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/PackageDownloadLink) | [2. 场景](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Scene) | [3. 节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node) | [4. 动作](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Action) | [5. Spine](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Spine) | [6. DragonBones](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/DragonBones) | [21. 引擎定制](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Customization) | [22. 编辑器](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Editor) | [23. WEB](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Web) | [99. FAQ](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ) | * 简介 为了帮助处理日常开发中常见的一些问题的处理,以及了解2.x 和 3.x中一些区别。 | 编号 | 子编号 | 类目 | 子项 | 备注 | | :----------------------- | :----------------------- | :--------------------------------------------------------------------: |:--------------------------------------------------------------------: |:--------------------------------------------------------------------: | | 1 | | [安装包下载](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/PackageDownloadLink) | | Creator 1.9.0 ~ 2.3.1 | | 2 | | [场景](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Scene) | | | | | 2.1 | | [场景跳转](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Scene#1-场景跳转) | | | | 2.2 | | [预加载场景](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Scene#2-预加载场景) | | | | 2.3 | | [获取当前场景](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Scene#3-获取当前场景) | | | 3 | | [节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node) | | | | | 3.1 | | [访问节点(绝对路径)](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#1-访问节点-绝对路径) | | | | 3.2 | | [设置/获取 节点上的组件的属性值](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#2-设置获取-节点上的组件的属性值) | | | | 3.3 | | [通过访问路径来获取节点,及获取该节点的指定组件](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#3-通过访问路径来获取节点及获取该节点的指定组件) | | | | 3.4 | | [通过节点名获取子节点,获取该节点指定组件](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#4-通过节点名获取子节点获取该节点指定组件) | | | | 3.5 | | [获取当前脚本所在的节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#5-获取当前脚本所在的节点) | | | | 3.6 | | [获取父节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#6-获取父节点) | | | | 3.7 | | [获取子节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#7-获取子节点)| | | | 3.8 | | [通过指定节点下的路径获取节点(相对路径)](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#8-通过指定节点下的路径获取节点相对路径) | | | | 3.9 | | [获取所有子节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#9-获取所有子节点) | | | | 3.10 | | [获取子节点数量](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#10-获取子节点数量) | | | | 3.11 | | [克隆节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#11-克隆节点) | | | | 3.12 | | [绑定父节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#12-绑定父节点) | | | | 3.13 | | [添加/移除子节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#13-添加移除子节点) | | | | 3.14 | | [销毁节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#14-销毁节点) | | | | 3.15 | | [判定节点是否可用](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#15-判定节点是否可用) | | | | 3.16 | | [移除/销毁 所有子节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#16-移除销毁-所有子节点) | | | | 3.17 | | [停止所有正在播放的动作和计时器](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#17-停止所有正在播放的动作和计时器) | | | | 3.18 | | [递归查找自身及所有子节点中指定类型的组件(数组)](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#18-递归查找自身及所有子节点中指定类型的组件数组) | | | | 3.19 | | [获取节点的坐标](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#19-获取节点的坐标) | | | | 3.20 | | [获取节点的X轴或Y轴缩放比例](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#20-获取节点的x轴或y轴缩放比例) | | | | 3.21 | | [设置节点的坐标](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#21-设置节点的坐标) | | | | 3.22 | | [设置节点旋转角度](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#22-设置节点旋转角度) | | | | 3.23 | | [设置节点的缩放倍数](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#23-设置节点的缩放倍数) | | | | 3.24 | | [设置节点的宽度/高度](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#24-设置节点的宽度高度) | | | | 3.25 | | [设置节点的锚点坐标](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#25-设置节点的锚点坐标) | | | | 3.26 | | [设置节点透明度大小(取值范围0~255)](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#26-设置节点透明度大小取值范围0255) | | | | 3.27 | | [判定节点是否存在](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#27-判定节点是否存在) | | | | 3.28 | | [隐藏节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#28-隐藏节点) | | | | 3.29 | | [常驻节点](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Node#29-常驻节点) | | | 4 | | [动作](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Action) | | | | | 4.1 | | [立即显示](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Action#1-立即显示) | | | | 4.2 | | [立即隐藏](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Action#2-立即隐藏) | | | | 4.3 | | [显隐切换](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Action#3-显隐切换) | | | | 4.4 | | [渐显效果](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Action#4-渐显效果) | | | | 4.5 | | [渐隐效果](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Action#5-渐隐效果) | | | 5 | | [Spine](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Spine) | | | | | 5.1 | | [Spine合批](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Spine#1-spine合批) | | | 6 | | [DragonBones](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/DragonBones) | | | | 21 | | [引擎定制](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Customization) | | | | | 21.1 | | [支持越南语换行](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Customization/SupportVietnameseLineBreak) | 需要自定义引擎 | | | 21.2 | | [支持泰语换行](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Customization/SupportThaiLineBreak) | 需要自定义引擎 | | | 21.3 | | [支持印地语换行](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Customization/SupportDevanagariLineBreak) | 需要自定义引擎 | | 22 | | [编辑器](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Editor) | | | | | 22.1 | | [属性面板定义二维数组](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Editor#1-属性面板定义二维数组) | | | 23 | | [WEB](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Web) | | | | | 23.1 | | [去除加载页](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/Web#1-去除加载页) | | | 99 | | [FAQ](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ) | | | | | 99.1 | | [3.x如何实现按钮事件穿透?](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ#q1-3x版本的按钮怎么实现事件穿透效果) | [测试例](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ/AllowButtonEventPass) | | | 99.2 | | [3.x如何查看swallowTouches属性?](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ#q2-如何查看-swallowtouches-属性) | | | | 99.3 | | [3.x图片无法拖到层级管理器上?](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ#q3-3x图片无法拖到层级管理器上显示) | | | | 99.4 | | [3.x纹理过滤模式Point对应什么?](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ#q4-3x中纹理的过滤模式point对应什么) | | | | 99.5 | | [3.x使用大平面作为地形移动时边界会有闪烁,怎么处理?](https://gitee.com/yeshao2069/cocos-creator-faq/tree/master/FAQ#q5-3x使用大平面作为地形移动时边界会有闪烁怎么处理) | |