Documentation

Unity Engine

Download Unity

Unity Engine

Clear()

Sets the length to 0. For a NativeText.Readonly this function does nothing, unless safety checks are enabled (in which case it throws).
Read time 1 minuteLast updated 3 hours ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public readonly void Clear()