protected override void OnEnterPool () {
if (vectorPaths != null)
for (int i = 0; i < vectorPaths.Length; i++)
if (vectorPaths[i] != null) Util.ListPool<Vector3>.Release(vectorPaths[i]);
vectorPaths = null;
vectorPath = null;
if (nodePaths != null)
for (int i = 0; i < nodePaths.Length; i++)
if (nodePaths[i] != null) Util.ListPool<GraphNode>.Release(nodePaths[i]);
nodePaths = null;
path = null;
callbacks = null;
targetNodes = null;
targetsFound = null;
targetPoints = null;
originalTargetPoints = null;
base.OnEnterPool();
}