AddComponent
AddComponent(GameObject, Type)
Description
Add component.
Parameters
| Parameter Name | Description |
|---|---|
| gameObject | GameObject |
| type | Component type |
Returns
Component
Add component.
| Parameter Name | Description |
|---|---|
| gameObject | GameObject |
| type | Component type |
Component