2D Toolkit > FAQs

I am setting .text and .color on my tk2dTextMesh, and nothing is changing. What

(1/1)

unikronsoftware:
You need to call Commit on the textmesh for your changes to be committed. The reason for this is you may change text and color and/or size in the same frame, and each of these will invalidate the mesh data, and by calling Commit yourself, you are saving the system from regenerating data multiple times.

Navigation

[0] Message Index

Go to full version