I’ve never transacted against the material the way you are doing.
Usually I just do it this way:
Color c = text.color;
c.a = i;
text.color = c;
Pretty sure that will only affect that one text object.
In the future, if you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly