Class NameEntry
The name entry holds a name and an identifier at once.
Namespace: Unity.QuickSearch
Syntax
public class NameEntry
Constructors
NameEntry(String, String, Boolean)
Construct a new name identifier
Declaration
public NameEntry(string id, string displayName = null, bool enabled = true)
Parameters
| Type | Name | Description |
|---|---|---|
| String | id | Unique id of the Entry. |
| String | displayName | Name to display in UI. |
| Boolean | enabled | Is the component enabled. |
Fields
displayName
Display name (use by UI)
Declaration
public string displayName
Field Value
| Type | Description |
|---|---|
| String |
id
Unique name for an object
Declaration
public string id
Field Value
| Type | Description |
|---|---|
| String |
isEnabled
Indicates if the entry is enabled
Declaration
public bool isEnabled
Field Value
| Type | Description |
|---|---|
| Boolean |