Create a thread in a MonoBehaviour

I have a MonoBehaviour with a GUIText. I want to update the GUIText in a thread. Can I do this? And How?

I am using this:

Thread t1 = new Thread(foo);

void foo()

But that does not print.

No you can’t

Unity is built to only allow modifications to anything in Unity objects from the main thread.

You can do a workaround where you run the calculations in another thread, then do a call back to the main thread with the data.