Method Clear
Clear()
Sets the length to 0. For a NativeText.Readonly this function does nothing, unless safety checks are enabled (in which case it throws).
Declaration
public void Clear()
Implements
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | Thrown if ENABLE_UNITY_COLLECTIONS_CHECKS is defined. |