Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TextureImporterSettings.spritePivot

Switch to Manual
public var spritePivot: Vector2;

Description

Pivot point of the Sprite relative to its graphic's rectangle.