GetRigidbody2D
GetRigidbody2D(string, Rigidbody2D)
Description
Get the value of the Rigidbody2D type.
Parameters
| Parameter Name | Description | 
|---|---|
| name | Name. | 
| defaultValue | Default value. It is returned when there is no parameter. | 
Returns
The true when there parameters of the specified name.
GetRigidbody2D(int, Rigidbody2D)
Description
Get the value of the Rigidbody2D type.
Parameters
| Parameter Name | Description | 
|---|---|
| id | ID. | 
| defaultValue | Default value. It is returned when there is no parameter. | 
Returns
The true when there parameters of the specified name.
GetRigidbody2D(string, out Rigidbody2D)
Description
Get the value of the Rigidbody2D type.
Parameters
| Parameter Name | Description | 
|---|---|
| name | Name. | 
| value | The value you get. | 
Returns
The true when there parameters of the specified name.
GetRigidbody2D(int, out Rigidbody2D)
Description
Get the value of the Rigidbody2D type.
Parameters
| Parameter Name | Description | 
|---|---|
| id | ID. | 
| value | The value you get. | 
Returns
The true when there parameters of the specified name.