Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetFloat(string)

Gets a float property value by name.
Read time 1 minuteLast updated 6 days ago

Definition

public float GetFloat(string name)

Parameters

name

The property name of the float value.

Returns

Type

Description

floatThe float property stored for the specified name, or the empty string if none.