This project provides a method of implementing a rewind effect in your game (similarly to that found in games such as Braid).
The audio queue is an implementation of an event queue. An event queue holds a queue of events/messages/any object that requires processing. Using this technique, you decouple when an event is sent from when it is processed.
A game event can be anything that other game objects could be interested in. The player dying, an explosion going off, and a coin being collected can all be classed as events. There is often a need to notify other entities when these actions occur without tightly coupling the entities…
Object pool, event system, and audio queue for the Unity […]