# GetGameObject

## GetGameObject(string, GameObject)

public GameObject GetGameObject(string name, GameObject defaultValue) ;

### Description

Get the value of the GameObject 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.

## GetGameObject(int, GameObject)

public GameObject GetGameObject(int id, GameObject defaultValue) ;

### Description

Get the value of the GameObject 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.

## GetGameObject(string, out GameObject)

Obsolete public bool GetGameObject(string name, out GameObject value) ;

### Description

Get the value of the GameObject type.

### Parameters

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

### Returns

The true when there parameters of the specified name.

## GetGameObject(int, out GameObject)

Obsolete public bool GetGameObject(int id, out GameObject value) ;

### Description

Get the value of the GameObject type.

### Parameters

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

### Returns

The true when there parameters of the specified name.