Sprite.textureRect

public Rect textureRect;

Description 描述

Get the rectangle this sprite uses on its texture. Raises an exception if this sprite is tightly packed in an atlas.