Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetUnsafePtr()

Get a pointer to the data.
Read time 1 minuteLast updated 13 days ago

Definition

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

Returns

Type

Description

<T>*A pointer to the data.

Remarks

When container has safety checks enabled it performs a job safety check for write access.