public void MoveLocations(NativeSlice <NavMeshLocation> locations, NativeSlice <Vector3> targets, NativeSlice <int> areaMasks) { bool flag = locations.Length != targets.Length || locations.Length != areaMasks.Length; if (flag) { throw new ArgumentException("locations.Length, targets.Length and areaMasks.Length must be equal"); } AtomicSafetyHandle.CheckReadAndThrow(this.m_Safety); NavMeshQuery.MoveLocations(this.m_NavMeshQuery, locations.GetUnsafePtr <NavMeshLocation>(), targets.GetUnsafeReadOnlyPtr <Vector3>(), areaMasks.GetUnsafeReadOnlyPtr <int>(), locations.Length); }