问题在于,当附件为 RegionAttachment时,GetRemappedClone()
将仅使用Sprite
的大小。 在您的情况下,地精的长矛是 MeshAttachment。 因此,如果您需要其他尺寸,请使用http://esotericsoftware.com/spine-api-reference#RegionAttachment。
The problem is that GetRemappedClone()
will only use the size of the Sprite
when the Attachment is a RegionAttachment. In your case the goblin's spear is a MeshAttachment. So if you need different sizes, please use RegionAttachment.