Table of Contents

Constructor UnsafePool

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

UnsafePool(int, Func<T>, Action<T>, Action<T>, Action<T>)

public UnsafePool(int initialCapacity, Func<T> create, Action<T> destroy = null, Action<T> activate = null, Action<T> deactivate = null)

Parameters

initialCapacity int
create Func<T>
destroy Action<T>
activate Action<T>
deactivate Action<T>