Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
帮九万里而南为提交了他的改动。随手移除了几个无用的属性。
现在的版本有一个问题:
为什么 CocosArmatureComponent 要创建一个子节点,然后在子节点挂一个 CocosArmatureComponent 进行驱动…… 是因为 CocosFactory 只能通过 buildArmature 创建骨架吗?不能加载一个场景里已有的组件吗?
感觉这样的逻辑很神奇…… 如果是这样的话,我建议的是 CocosArmatureComponent 内直接持有抽象的骨架对象(armature),而不是一个场景中额外的实体节点(cc.Node)
该 PR 可能还需要进一步 review。