public AsyncGameObjectPool(AsyncInstantiator <GameObject> instantiator) { this.asyncInstantiator = instantiator ?? throw new ArgumentNullException(nameof(instantiator)); }
public AsyncComponentPool(AsyncInstantiator <T> instantiator) { this.instantiator = instantiator ?? throw new ArgumentNullException(nameof(instantiator)); }