When using Physics.NonAlloc, you don't need to think about the array size.This package is not dependent on any render pipeline.Background1. When executing Physics.NonAlloc method, the number of detected colliders and the actual colliders are handled separately as an int and an array[], making it inconvenient to use.- A DynamicArray instance holding this information would be more convenient to use.2. Why should we pay attention to trivial matters?- When using Physics.NonAlloc, determining the size of the array is usually unnecessary.- If the number of detected colliders exceeds the size of the array, the DynamicArray will automatically resize the array.Use Case1. automatic resizing2. foreach loop3. for loop4. passing the detected collider array as a parameterThe detected colliders and their count can be accessed from anywhere using dynamicarrayReadme.mdhttps://github.com/santutu/unity-dynamic-array/blob/main/README.mdSamplehttps://github.com/santutu/unity-dynamic-array/blob/main/Assets/Santutu/Core/DynamicArray/Samples/Sample.cs