# SetRigidbody2D

## SetRigidbody2D(string, Rigidbody2D)

public bool SetRigidbody2D(string name, Rigidbody2D value) ;

### Description

It wants to set the value of the Rigidbody2D type.

### Parameters

Parameter Name | Description
--- | ---
name | Name.
value | Value.

### Returns

The true when there parameters of the specified name.

## SetRigidbody2D(int, Rigidbody2D)

public bool SetRigidbody2D(int id, Rigidbody2D value) ;

### Description

It wants to set the value of the Rigidbody2D type.

### Parameters

Parameter Name | Description
--- | ---
id | ID.
value | Value.

### Returns

The true when there parameters of the specified name.