Glitched Polygons MethodQ is a simple API that allows you to delay method calls in your code for aspecific amount of seconds.
___________________________
It was created with maximum flexibility, performance,ease of use and extensibility in mind. The idea behind it is to avoid having to writecoroutines for everything that needs time control in your code.
With MethodQ you can add method calls that take 0, 1, 2 or 3 parameters (or evenmore if needed) of any given type to an execution queue with a specified delay.
The queue takes care of calling your methods at the correct time without you having tokeep track of anything. The whole timing thing in scripting (and scripting as a whole) becomes so much more pleasant with MethodQ!
Pending invocations can also be cancelled, changed or postponed. It’s as simple aswriting one single line of code! And speaking of code: the entire source code isprovided, such that you can extend MethodQ to your needs and smoothly integrate itinto your projects.
The entire codebase is written in C# and in the simplest possible way. It’s wellcommented and equipped with detailed and extensive xml documentation compatiblewith IntelliSense.
You can have as many method queues in your scenes as you need, but in generalone queue per scene is enough.
MethodQ is 100% thread safe (because it runs on the main Unity thread). It’s no hack,no strange multithreaded approach, just a coroutine based API!