Skip to main content
5 events
when toggle format what by license comment
Feb 8, 2022 at 23:49 comment added Chris Trott @GuneyOzsan Ah thanks, have to admit I haven't used TMP for a bit, so maybe this isn't such an issue now.
Feb 8, 2022 at 19:05 comment added Guney Ozsan This may have changed after Unity acquisition as current Unity docs says they are the same: "This function is the same as using the text property to set the text." docs.unity3d.com/Packages/[email protected]/api/…
Feb 8, 2022 at 18:52 comment added Guney Ozsan Looks like it is for a special case. The SetText() documentation says "You may wish to use this function instead of TextMeshPro.text if you need to concatenate a string with values and trying to avoid unnecessary garbage collection.". digitalnativestudios.com/textmeshpro/docs/ScriptReference/… I always thought it was for historical reasons as setting Unity's Text.text property was the way to do this before TextMeshPro.
Feb 8, 2022 at 18:15 comment added Sinatr I have expected TextMeshProUGUI to be an inherited from GameObject type. Thanks for clarifying, it was really helpful. Do you refer to text performance in the last paragraph or do you mean something else? I would appreciate a link.
Feb 8, 2022 at 5:51 history answered Chris Trott CC BY-SA 4.0