Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StringToValue(string)

Converts a string to a float.
Read time 1 minuteLast updated 6 days ago

Definition

protected override float StringToValue(string str)

Parameters

The string to convert.

Returns

Type

Description

floatThe float parsed from the string.