unity 2021:
public void SetSimplices(int[] simplices, SimplexCounts counts)
{
this.simplices.CopyFrom(simplices);
how to convert this line to 2022?
Assets\Obi\Scripts\Common\Backends\Burst\Solver\BurstSolverImpl.cs(314,37): error CS1503: Argument 1: cannot convert from 'int[]' to 'in Unity.Collections.NativeArray<int>'
public void SetSimplices(int[] simplices, SimplexCounts counts)
{
this.simplices.CopyFrom(simplices);
how to convert this line to 2022?
Assets\Obi\Scripts\Common\Backends\Burst\Solver\BurstSolverImpl.cs(314,37): error CS1503: Argument 1: cannot convert from 'int[]' to 'in Unity.Collections.NativeArray<int>'