文档

Unity Engine

Unity Engine

GetFloat(string)

Gets a float property value by name.
阅读时间1 分钟最后更新于 1 个月前

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.