Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StringToValue(string)

Converts a string to the value of the specified generic type from the subclass.
Read time 1 minuteLast updated 12 days ago

Definition

protected abstract TValueType StringToValue(string str)

Parameters

The string to convert.

Returns

Type

Description

TA value converted from the string.

Remarks

Subclasses must implement this method.