Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Exists(string)

Verify the existence of a settings path.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool Exists(string settingsPath)

Parameters

settingsPath

Settings path of the item to verify the existence of (for example, 'Project/Player' or 'Preferences/Search').

Returns

Type

Description

boolReturns true if the settings path exists.