ドキュメント

Unity Engine

Download Unity

Unity Engine

SetPointer<T>(ref BlobPtr<T>, ref T)

Sets a BlobPtr to point to the given object inside the blob.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

SetPointer<T>(BlobPtr<T>, T)

public ref T SetPointer<T>(ref BlobPtr<T> ptr, ref T obj) where T : struct

Parameters

A reference to a blob pointer field in a blob asset.

obj

T
The struct that exists in the blob that you want to point to.

Returns

Type

Description

TA reference to obj.