gpt4 book ai didi

ios - cocos2d : is the child of a child of a batch node handled by the batch node?

转载 作者:行者123 更新时间:2023-11-29 02:58:29 24 4
gpt4 key购买 nike

问题可能措辞不当...如果我添加一个 Sprite 作为批节点的子节点,然后添加另一个 Sprite 作为第一个 Sprite 的子节点,该 Sprite 是否会获得与批节点相同的好处?还是必须直接添加到批处理节点?

最佳答案

在2.1版本中,答案是肯定的。确保批处理节点的孙子节点与用于批处理节点的纹理具有相同的纹理。

关于ios - cocos2d : is the child of a child of a batch node handled by the batch node?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23583745/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com