public float GetFloat(string name);
public float GetFloat(int id);

Parameters

nameThe parameter name.
idThe parameter ID.

Returns

float The value of the parameter.

Description 描述

Returns the value of the given float parameter.

If the float parameter you specify doesn't exist, the float returns as 0.