Unityだと CollectionsMarshal.AsSpan メソッドが使えないっぽいので、
他の人の二番煎じですが、Unsafe クラスを使って拡張メソッドを定義しました。
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public static class SpanUtils
{
/// <summary>
/// リストの内部配列を Span として取得します。<br/>
/// 一時的に、かつ節度を持って使用してください。<br/>
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ReadOnlySpan<T> AsSpanUnsafe<T>(this List<T> list)
=> Unsafe.As<DummyList<T>>(list).Items.AsSpan(0, list.Count);
private class DummyList<T> { public T[] Items; }
}