ドキュメント

Unity Engine

Unity Engine

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.ReadOnly.Capacity.