文档

Unity Engine

Download Unity

Unity Engine

RefRO(NativeArray<T>, int)

Stores a safe reference to a component from an array of components at the index.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Constructor
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public RefRO(NativeArray<T> componentDataArray, int index)

Parameters

componentDataArray

The NativeArray of components.

index

The index of the the components.