- Изменено
为什么我们制作的sipne导入unity要缩放0.01后才是正常大小?
The person who made the spin said that they output according to the original size. It's OK to put the Cocos into it, but it will be very large when put into the unit spin. It needs to be scaled by 0.01 to be normal. After scaling, we need to put the weapon into the hole, resulting in the weapon becoming very small.
Please note that 0.01 is the default import scale in Unity, this is perfectly normal. When using Spine in the standard way, your export will be 1 pixel for 1 unit, where in Unity one unit is typically set to equal 1 meter. Thus a scale of 0.01 leads to 100 pixels being equal to 1 Unity unit (meter).
Note that Unity Sprite scale is also set to 100, which means 100 pixels per unit (100 PPU), which is the same as the spine-unity import scale of 0.01 (units per pixel).
ww3441201 написалAfter scaling, we need to put the weapon into the hole, resulting in the weapon becoming very small.
Could you please provide more information about how you attach your weapon, and what your weapon is represented with (e.g. a separate GameObject with a Sprite)?