Version: 2017.3

Sprite.textureRect

切换到手册
public Rect textureRect ;

描述

获取该精灵在其纹理上使用的矩形。如果该精灵紧密打包在图集中,则引发异常。