Changing outlineWidth on a single tmpro on runtime also changes other labels

Hi there,

When i change outlineWidth on runtime for one label, other labels also gets changed.
How to avoid this behaviour?

Please advise
Thanks

Most the TMP styling options are part of material not the TMP Text component. If you need different settings you need to create separate material.

1 Like

Really appreciate, Iā€™m actually noob when it comes to material.
I tried creating like this but output was same,
textWithOutline.fontMaterial = new Material(otherText.fontMaterial);

I actually want to create entirely new material on runtime
Thanks