Documentation

Unity Engine

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 2 months ago

Definition

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