Wiki

Case Status
Log In

Wiki

 
Home ยป Add-ons»2D Toolkit Custom Actions»2d ToolKit Text Mesh Set Ancho…
Index
Navigation
Community Wiki

2d ToolKit Text Mesh Set Anchor

Set the anchor of a TextMesh. Changes will not be updated if commit is OFF. This is so you can change multiple parameters without reconstructing the mesh repeatedly. Use tk2dtextMeshCommit or set commit to true on your last change for that mesh. NOTE: The Game Object must have a tk2dTextMesh attached.

Game Object
The Game Object to work with. NOTE: The Game Object must have a tk2dTextMesh component attached.
Text Anchor
The anchor
Or Text Anchor String
The anchor as a string (text Anchor setting will be ignore if set). possible values ( case insensitive): LowerLeft,LowerCenter,LowerRight,MiddleLeft,MiddleCenter,MiddleRight,UpperLeft,UpperCenter or UpperRight
Commit
Commit changes
Tags:

Last modified on 1/18/2012 2:58 AM by User.

  • RSS Feed