AddComponent
Add component.
Parameter Name | Description |
---|---|
gameObject | GameObject |
type | Component type |
Component
Add component.
Type Parameter Name | Description | Type Constraints |
---|---|---|
Type | Component type |
Parameter Name | Description |
---|---|
gameObject | GameObject |
Component