기술 자료

Unity Engine

Unity Engine

GetUnsafePtr()

Returns a pointer to this string's character buffer.
읽는 시간 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.