Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Suggest a change

PlayerPrefs.HasKey

static function HasKey(key: string): bool;
static bool HasKey(string key);
static def HasKey(key as string) as bool

Description

Returns true if key exists in the preferences.

Your name (optional):
Your email (optional):
Please write your suggestion here: