UnsafePtrList<T>.ReadOnly
A read only for an UnsafePtrList\<T\>.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public struct UnsafePtrList<T>.ReadOnly
Remarks
Use UnsafePtrList<T>.AsReadOnly to create a read only for a list.
Fields
Properties
Property | Description |
|---|---|
| IsCreated | Whether this list has been allocated (and not yet deallocated). |
| IsEmpty | Whether the list is empty. |