Docsv3.30.0
Back to API Reference
Class

LocalizedCommandTitle

sealed
Inherits:ICommandTitle

Command title from an entry of a Unity Localization string table, in the selected language; a menu showing it follows a language switch.

Remarks

While a field observes its commands — in Play Mode — the entry loads asynchronously and the command shows its default title until the translation arrives. Read when nothing observes it, from an Editor tool, the entry loads synchronously, which WebGL does not support.
public LocalizedString Entry{ get; set }

String table entry holding the title.

public string Text{ get }
public Action Changed