TryGetComponent
TryGetComponent(string, out Component)
Description
Get the value of the Component type.
Parameters
Parameter Name | Description |
---|---|
name | Name. |
value | The value you get. |
Returns
The true when there parameters of the specified name.
TryGetComponent(int, out Component)
Description
Get the value of the Component type.
Parameters
Parameter Name | Description |
---|---|
id | ID. |
value | The value you get. |
Returns
The true when there parameters of the specified name.
TryGetComponent<TComponent>(string, out TComponent)
public bool TryGetComponent<TComponent>(string name, out TComponent value) ;
Description
Get the value of the Component type.
Type Parameters
Type Parameter Name | Description | Type Constraints |
---|---|---|
TComponent | Type of Component to get |
Parameters
Parameter Name | Description |
---|---|
name | Name. |
value | The value you get. |
Returns
The true when there parameters of the specified name.
TryGetComponent<TComponent>(int, out TComponent)
public bool TryGetComponent<TComponent>(int id, out TComponent value) ;
Description
Get the value of the Component type.
Type Parameters
Type Parameter Name | Description | Type Constraints |
---|---|---|
TComponent | Type of Component to get |
Parameters
Parameter Name | Description |
---|---|
id | ID. |
value | The value you get. |
Returns
The true when there parameters of the specified name.