Class PostLoadCommandBuffer
Component that contains an EntityCommandBuffer, which is used to execute commands after a scene is loaded.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public class PostLoadCommandBuffer : IComponentData, IQueryTypeParameter
Remarks
This component includes a reference counter. When the reference counter is equal to 0, the CommandBuffer is disposed of.
Constructors
| Name | Description |
|---|---|
| PostLoadCommandBuffer() | Initializes and returns an instance of PostLoadCommandBuffer. |
Fields
| Name | Description |
|---|---|
| CommandBuffer | Represents an EntityCommandBuffer. |
Methods
| Name | Description |
|---|---|
| Clone() | Increments the reference counter and returns a reference to the component. |
| Dispose() | Decrements the reference counter. When the reference counter reaches 0, the CommandBuffer is disposed. |