Hello Guest

Author Topic: I am setting .text and .color on my tk2dTextMesh, and nothing is changing. What  (Read 4066 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
    • View Profile
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.