ドキュメント

Unity Engine

Unity Engine

TryParse<T>(string, out T)

Try to parse an expression into a number.
読み終わるまでの所要時間 1 分最終更新 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.