Invoke with arguments?

I’m using Invoke to call a function delayed but I need to pass some arguments to it. The argument is a random Transform from scene area, but Invoke only takes the function name and the delay time, how do I pass arguments?

1 Like

You will need to use StartCoroutine if you must pass something with it which it can not access through any other way.

2 Likes