기술 자료

Unity Engine

Unity Engine

TryParse<T>(string, out T)

Try to parse an expression into a number.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

TryParse<T>(string, T)

public static bool TryParse<T>(string expression, out T result)

Parameters

expression

Expression to be parsed.

result

T
Type of the numeric value.

Returns

Type

Description

boolReturns true if the parsing succeed.