기술 자료

Unity Engine

Unity Engine

GetUnsafeReadOnlyPtr<T>(NativeReference<T>)

Returns a pointer to this reference's stored value.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static T* GetUnsafeReadOnlyPtr<T>(this NativeReference<T> reference) where T : unmanaged

Parameters

The reference.

Returns

Type

Description

<T>*A pointer to this reference's stored value.

Remarks

Performs a job safety check for read-only access.