ドキュメント

Unity Engine

Download Unity

Unity Engine

GetUnsafePtr()

Provides a pointer to the data stored in the array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public void* GetUnsafePtr()

Returns

Type

Description

void*A pointer to the first element in the array.

Remarks

You can only call this function in an [unsafe context]. [unsafe context]: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/unsafe-code