Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetUnsafeReadOnlyPtr()

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

Definition

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

Returns

Type

Description

<T>*A pointer to the data.

Remarks

When container has safety checks enabled it performs a job safety check for read-only access.