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