TryGetRigidbody2D

public bool TryGetRigidbody2D(string name, out Rigidbody2D value) ;

Get the value of the Rigidbody2D type.

Parameter Name Description
name Name.
value The value you get.

The true when there parameters of the specified name.

public bool TryGetRigidbody2D(int id, out Rigidbody2D value) ;

Get the value of the Rigidbody2D type.

Parameter Name Description
id ID.
value The value you get.

The true when there parameters of the specified name.