ドキュメント

Unity Engine

Unity Engine

GetUnsafePtr()

Returns a pointer to the character bytes.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public readonly byte* GetUnsafePtr()

Returns

Type

Description

byte*A pointer to the character bytes.

Remarks

The pointer returned by this method points into the internals of the target FixedString object. It is the caller's responsibility to ensure that the pointer is not used after the FixedString object is destroyed or goes out of scope.