Skip to content

Static pool with coroutine waiters. No garbage collection. No more cached WaitForSeconds.

License

Notifications You must be signed in to change notification settings

wiecek1873/Unity-Waiters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Unity Waiters

Static pool with coroutine waiters.

Pros

  • No garbage collection.
  • No more cached WaitForSeconds.

Installation

Paste Waiters.cs file into your Unity Project

Usage

  //Your code
  
  float _waitTime = 2f;
  yield return Waiters.WaitForSeconds(_waitTime);

About

Static pool with coroutine waiters. No garbage collection. No more cached WaitForSeconds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages