Version: 2021.1

Sprite.textureRectOffset

切换到手册
public Vector2 textureRectOffset ;

描述

获取该精灵在其纹理上使用的矩形到原始精灵边界的偏移。如果精灵网格类型为 FullRect,则偏移为零。