Hi there, I have a question regarding OverlapAreaNonAlloc. I’d like to use it for collision detection. The part I’m not sure I understood is this (quoted from documentation):
“but the results array will not be resized if it doesn’t contain enough elements to report all the results.”
This basically means that if my character can collide with, let’s say, a maximum of 2 ground elements at the same time (think of it as different platforms), then I should allocate a Collider2D for two elements (or more, in other case scenarios) explicitly, before passing the array as a parameter of OverlapAreaNonAlloc?