Documentation

Unity Engine

Download Unity

Unity Engine

TryGetValue(string, out IVariable)

Gets the IVariable with the specified name.
Read time 1 minuteLast updated a month ago

Definition

TryGetValue(string, IVariable)

public bool TryGetValue(string name, out IVariable value)

Parameters

name

The name of the variable.

The variable that was found or
default
.

Returns

Type

Description

bool
true
if a variable was found and
false
if one could not.