GetGameObject

public GameObject GetGameObject(string name, GameObject defaultValue) ;

Get the value of the GameObject type.

Parameter Name Description
name Name.
defaultValue Default value. It is returned when there is no parameter.

The value of the parameter. If there is no parameter, it returns defaultValue.

public GameObject GetGameObject(int id, GameObject defaultValue) ;

Get the value of the GameObject type.

Parameter Name Description
id ID.
defaultValue Default value. It is returned when there is no parameter.

The value of the parameter. If there is no parameter, it returns defaultValue.

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

Get the value of the GameObject type.

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

The true when there parameters of the specified name.

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

Get the value of the GameObject type.

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

The true when there parameters of the specified name.