I am making a lens that has text as a facemask. When tapped, the text should change to the next string I have defined in an array of strings.
I have made a Label Material in the ressources panel, and added the material to the facemask object. And it works with the text I manually have written in the material text object (in ressources). But when I try to access the actual text of the material via script, I get an error.
I have tried accessing it by with:
where overlay is:
I have also tried without .text at the end.
Nothing works - I cannot access the actual text in the material.