Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm trying out your code, and I still can't seem to get it to reproduce... are you trying to use STM with Unity UI, or without? Because... your code is using scene.GetRootObjects() then obj.GetComponent(), so for UI text that will always be the child of a canvas, this code should never grab that text to begin with? Am I understanding your code correctly?