Skip to content

Instantly share code, notes, and snippets.

Draugor Draugor

Block or report user

Report or block Draugor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View SimplePool.cs
/// Simple pooling for Unity.
/// Author: Martin "quill18" Glaude (
/// Extended: Simon "Draugor" Wagner (
/// Latest Version:
/// License: CC0 (
/// 2018-01-04: - Added Extension Method for Despawn on GameObjects
/// - Changed the Member Lookup so it doesn't require a PoolMemberComponent anymore.
/// - for that i added a HashSet which contains all PoolMemberIDs (HashSet has O(1) contains operator)
You can’t perform that action at this time.