Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ContainsKey(string)

Returns true if a variable with the specified name exists.
Read time 1 minuteLast updated 13 days ago

Definition

public bool ContainsKey(string name)

Parameters

name

The variable name to check for.

Returns

Type

Description

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