SetComponent
SetComponent(string, Component)
Description
It wants to set the value of the Component type.
Parameters
| Parameter Name | Description |
|---|---|
| name | Name. |
| value | Value. |
Returns
The true when there parameters of the specified name.
SetComponent(int, Component)
Description
It wants to set the value of the Component type.
Parameters
| Parameter Name | Description |
|---|---|
| id | ID. |
| value | Value. |
Returns
The true when there parameters of the specified name.
SetComponent<TComponent>(string, TComponent)
public bool SetComponent<TComponent>(string name, TComponent value) ;
Description
It wants to set the value of the Component type.
Type Parameters
| Type Parameter Name | Description | Type Constraints |
|---|---|---|
| TComponent | Type of Component to set |
Parameters
| Parameter Name | Description |
|---|---|
| name | Name. |
| value | Value. |
Returns
The true when there parameters of the specified name.
SetComponent<TComponent>(int, TComponent)
public bool SetComponent<TComponent>(int id, TComponent value) ;
Description
It wants to set the value of the Component type.
Type Parameters
| Type Parameter Name | Description | Type Constraints |
|---|---|---|
| TComponent | Type of Component to set |
Parameters
| Parameter Name | Description |
|---|---|
| id | ID. |
| value | Value. |
Returns
The true when there parameters of the specified name.