The '''BreadcrumbInterface''' component is used by [[Data Feed|data feeds]] to get the translated name of one directory in a list of directories that makes a path. This is most commonly used in the [[Settings]] at the top to show a user where in the settings they are.
|NameConverter|{{RootFieldType|SyncDelegate`1|[[Type:PathSegmentConverter|PathSegmentConverter]]}}|TypeAdv0=true| The path segment converter Sync delegate (Takes a path name and its depth) and returns a localized string.
|ItemName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv1=true| The field to drive with the localized string of the path segment (on an OS, this would be like the programmer name of a folder translated to your language)
|PathSegment|String|
|PathSegment|String| The path segment programmer name to convert to your language.
|ItemDepth|Int|
|ItemDepth|Int| How many levels down in the path this string element would be.
}}
}}
== Behavior ==
== Usage ==
Used with a [[Component:BreadcrumbManager|BreadcrumbManager]] to generate a list of path elements to show to the user in their language.
== Examples ==
== Examples ==
Used in the settings header to show a user what setting they are currently viewing.
Breadcrumb Interface component as seen in the Scene Inspector
The BreadcrumbInterface component is used by data feeds to get the translated name of one directory in a list of directories that makes a path. This is most commonly used in the Settings at the top to show a user where in the settings they are.
The field to drive with the localized string of the path segment (on an OS, this would be like the programmer name of a folder translated to your language)