World.NoAllocReadOnlyCollection<T>
Read only collection that doesn't generate garbage when used in a foreach.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: IEnumerable<T>, IEnumerable
public struct World.NoAllocReadOnlyCollection<T> : IEnumerable<T>, IEnumerable
Constructors
Constructor | Description |
|---|---|
| NoAllocReadOnlyCollection`1(System.Collections.Generic.List{`0}) | Construct a new instance |
Properties
Methods
Method | Description |
|---|---|
| Contains | Check if the list contains a specific element |
| GetEnumerator | Get an enumerator interface to the list |