Method AddComponent
AddComponent(uint, ComponentType)
Add a component to an occurrence
Declaration
[HandleProcessCorruptedStateExceptions]
public uint AddComponent(uint occurrence, ComponentType componentType)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | occurrence | The occurrence to add the new component |
| ComponentType | componentType | Type of the component |
Returns
| Type | Description |
|---|---|
| uint |