I have it so after about 3 seconds it should then go on with the code to produce the “HI” message. the problem is that it doesn’t even show the “Good Job etc…” message and goes straight to “HI”
You are using coroutine in a wrong manner. Calling coroutine doesn’t stop execution of the main thread. Here’s a good explanation how coroutines work.
To achieve your desired effect remove text assignments from your GetToBridge() method and put them inside coroutine, like this:
IEnumerator TimerInvoke(float time)
{
briefMessage.text = "Good Job now...";
yield return new WaitForSeconds(time);
briefMessage.text = "HI";
}
