This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// | |
| /// Simple pooling for Unity. | |
| /// Author: Martin "quill18" Glaude (quill18@quill18.com) | |
| /// Extended: Simon "Draugor" Wagner (https://www.twitter.com/Draugor_/) | |
| /// Extended: Daniel Castaño Estrella (daniel.c.estrella@gmail.com) | |
| /// Latest Version: https://gist.github.com/danielcestrella/b1b45999da9cec063f9c381e296693a8 | |
| /// License: CC0 (http://creativecommons.org/publicdomain/zero/1.0/) | |
| /// UPDATES: | |
| /// 2019-07-15 by Daniel Castaño Estrella: - Change Stack to Queue to avoid reuse last used prefab (useful with active despawned GameObjects); | |
| /// 2019-01-24 by Daniel Castaño Estrella: - Added possibility of delayed Despawn; |