ドキュメント

Unity Engine

Unity Engine

TryGetValue(string, out IVariable)

Gets the variable with the matching key if one exists.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

TryGetValue(string, IVariable)

bool TryGetValue(string key, out IVariable value)

Parameters

The variable key or name to match.

The found variable or
null
if one could not be found.

Returns

Type

Description

bool
true
if a variable could be found or
false
if one could not.