Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

UI.Text.GetTextAnchorPivot

Switch to Manual
public static function GetTextAnchorPivot(anchor: TextAnchor): Vector2;

Description

Convenience function to determine the vector offset of the anchor.