GetFloat

GetFloat(string, float)

public float GetFloat(string name, float defaultValue) ;

Description

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

GetFloat(int, float)

public float GetFloat(int id, float defaultValue) ;

Description

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

GetFloat(string, out float)

Obsolete public bool GetFloat(string name, out float value) ;

Description

Get the value of the Float type.

Parameters

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

Returns

The true when there parameters of the specified name.

GetFloat(int, out float)

Obsolete public bool GetFloat(int id, out float value) ;

Description

Get the value of the Float type.

Parameters

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

Returns

The true when there parameters of the specified name.