文档

Unity Engine

Unity Engine

this[]

Look up the DynamicBuffer<T> value at a specific array index within the chunk.
阅读时间1 分钟最后更新于 19 天前

Definition

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

this[int]

public DynamicBuffer<T> this[int index] { get; }

Parameters

index

The index of the entity within the chunk whose value for
T
should be returned.

Returns

Type

Description

DynamicBuffer<T>The DynamicBuffer<T> value at a specific array index within the chunk