Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetValue(string, out VariablesGroupAsset)

Returns true if a global variable group could be found with a matching name, or false if one could not.
Read time 1 minuteLast updated 13 days ago

Definition

TryGetValue(string, VariablesGroupAsset)

public bool TryGetValue(string name, out VariablesGroupAsset value)

Parameters

name

The name of the global variable group to find.

The found global variable group or
null
if one could not be found with a matching name.

Returns

Type

Description

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