GetUnsafePtr()
Returns a pointer to this string's character buffer.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
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 NativeText.Capacity.