增加 ignoreAnchorPointForPosition(false);
layer,scene参数默认为true。只需要把这个改成false,即可更改锚点的位置。
本文介绍如何通过将ignoreAnchorPointForPosition设置为false来更改layer和scene的锚点位置,提供详细步骤及示例代码。
增加 ignoreAnchorPointForPosition(false);
layer,scene参数默认为true。只需要把这个改成false,即可更改锚点的位置。

被折叠的 条评论
为什么被折叠?