Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Sprite.textureRectOffset

public Vector2 textureRectOffset;

Description

Gets the offset of the rectangle this Sprite uses on its Texture to the original Sprite bounds. If Sprite mesh type is FullRect, offset is zero.