Wiki

Case Status
Log In

Wiki

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

2d ToolKit Text Mesh Set Pixel Perfect

Set the pixelPerfect flag 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.
Pixel Perfect
Does the text needs to be pixelPerfect
Commit
Commit changes
Use Make Pixel Perfect
IF true, and when pixelPerfect is set to true, it calls MakePixelPerfect()
Everyframe
Repeat every frame.

Last modified on 1/19/2012 6:20 AM by User.

  • RSS Feed