Sounds like you want to spend a little time familiarizing yourself with Coroutines. Coroutines in a nutshell:
Splitting up larger tasks in coroutines:
Coroutines are NOT always an appropriate solution: know when to use them!
“Why not simply stop having so many coroutines ffs.” - orionsyndrome on Unity3D forums
Our very own Bunny83 has also provided a Coroutine Crash Course: