ObjectPool<T>.

AssertNotAlreadyReleased(T) Method

Summary

[Editor-Conditional] Logs an error if the `item` is already the last object added to the Weaver.ObjectPool`1.InactiveObjects list.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ObjectPool<T>

Syntax

[System.Diagnostics.Conditional(WeaverUtilities.UnityEditor)]
protected void AssertNotAlreadyReleased(T item)

Attributes

Type Description
ConditionalAttribute

Parameters

Name Type Description
item T

Return Value

Type Description
void