Experimental: this API is experimental and might be changed or removed in the future.

IUxmlAttributes.GetPropertyFloat

切换到手册
public float GetPropertyFloat (string propertyName, float def);

参数

propertyName属性名称。
def找不到该属性时的默认值。

返回

float 属性值或默认值(如果未找到)。

描述