Documentation

Unity Engine

Download Unity

Unity Engine

GetUnsafePtr()

Returns a pointer to this string's character buffer.
Read time 1 minuteLast updated 2 months ago

Definition

public byte* GetUnsafePtr()

Returns

Type

Description

byte*A pointer to this string's character buffer.

Remarks

The pointer is made invalid by operations that reallocate the character buffer, such as setting UnsafeText.Capacity.