文档

Unity Engine

Unity Engine

Exists(string)

Verify the existence of a settings path.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.