GetRigidbody
GetRigidbody(string, Rigidbody)
public Rigidbody GetRigidbody(string name, Rigidbody defaultValue) ;
Description
Get the value of the Rigidbody type.
Parameters
| Parameter Name | Description | 
|---|---|
| name | Name. | 
| defaultValue | Default value. It is returned when there is no parameter. | 
Returns
The value of the parameter. If there is no parameter, it returns defaultValue.
GetRigidbody(int, Rigidbody)
public Rigidbody GetRigidbody(int id, Rigidbody defaultValue) ;
Description
Get the value of the Rigidbody type.
Parameters
| Parameter Name | Description | 
|---|---|
| id | ID. | 
| defaultValue | Default value. It is returned when there is no parameter. | 
Returns
The value of the parameter. If there is no parameter, it returns defaultValue.
GetRigidbody(string, out Rigidbody)
Obsolete public bool GetRigidbody(string name, out Rigidbody value) ;
Description
Get the value of the Rigidbody type.
Parameters
| Parameter Name | Description | 
|---|---|
| name | Name. | 
| value | The value you get. | 
Returns
The true when there parameters of the specified name.
GetRigidbody(int, out Rigidbody)
Obsolete public bool GetRigidbody(int id, out Rigidbody value) ;
Description
Get the value of the Rigidbody type.
Parameters
| Parameter Name | Description | 
|---|---|
| id | ID. | 
| value | The value you get. | 
Returns
The true when there parameters of the specified name.