Trying to get this to work but in my Debug.Log all I see is This is printed immediately, why am i not seeing the stuff in the Do() function?
Thanks.
IEnumerator Do() {
print("Do now");
yield return new WaitForSeconds(2);
print("Do 2 seconds later");
}
public void Awake() {
Do();
print("This is printed immediately");
}