editor wrong function fix

This commit is contained in:
2016-04-29 22:56:17 +06:00
parent b1155d8284
commit 956d516338
5 changed files with 8 additions and 7 deletions

View File

@@ -309,7 +309,7 @@ namespace IsoTools {
for ( var i = 0; i < min_hit_count; ++i ) {
results[i] = new IsoRaycastHit(_raycastNonAllocBuffer[i]);
}
ArrayUtility.Clear(ref _raycastNonAllocBuffer);
System.Array.Clear(_raycastNonAllocBuffer, 0, _raycastNonAllocBuffer.Length);
return min_hit_count;
}