Use a better way to crop Sprite

This commit is contained in:
Perfare
2021-12-04 08:44:33 +08:00
parent d4060cde6d
commit e501940f03
2 changed files with 16 additions and 20 deletions

View File

@ -197,7 +197,7 @@ namespace AssetStudio
public Vector2 m_Offset;
public Vector4 m_Border;
public float m_PixelsToUnits;
public Vector2 m_Pivot;
public Vector2 m_Pivot = new Vector2(0.5f, 0.5f);
public uint m_Extrude;
public bool m_IsPolygon;
public KeyValuePair<Guid, long> m_RenderDataKey;