| Parameter | Description |
|---|---|
| name | The debug friendly name associated with the singleton component entity. |
Entity The Entity object that you can use to access the singleton component entity.
Creates and supports only a single entity with a given unmanaged component.
Note that while zero-size component may be created, they can not be accessed directly in code. They are only usable for situations such as in calling ComponentSystemBase.RequireForUpdate.
| Parameter | Description |
|---|---|
| componentData | The data to assign to the singleton component. |
| name | The debug friendly name associated with the singleton component entity. |
Entity The Entity object that you can use to access the singleton component entity.
Creates and supports only a single entity with a given unmanaged component.
Note that while zero-size component may be created, they can not be accessed directly in code. They are only usable for situations such as in calling ComponentSystemBase.RequireForUpdate.