Unity Engine documentationScript ReferenceUnity.CollectionsNativeList<T>Clear()Sets the length to 0.Read time 1 minuteLast updated 13 days agoDefinition Type: Method Namespace: Unity.Collections Assembly: UnityEngine.ManagedKernelModule public void Clear() Remarks Does not change the capacity.