TryGetRigidbody2D
TryGetRigidbody2D(string, out Rigidbody2D)
public bool TryGetRigidbody2D(string name, out Rigidbody2D value) ;
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.
TryGetRigidbody2D(int, out Rigidbody2D)
public bool TryGetRigidbody2D(int id, out Rigidbody2D value) ;
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.