Skip to content

A helper method to easily execute delayed logic in MonoBehaviours.

License

Notifications You must be signed in to change notification settings

hk1ll3r/Unity-RunDelayed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-RunDelayed

A helper method to easily execute delayed logic in MonoBehaviours. The syntax looks like below.

void Start()
{
    RunDelayed(2f, () => {
        Debug.Log("delayed console log!"); 
    });
}

The implementation is a thin wrapper around Coroutines.

Read my blog post to know the background.

About

A helper method to easily execute delayed logic in MonoBehaviours.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages