Back to API Reference
Interface
ICommandTitle
abstract
Where the title of a TextCommand comes from: a fixed text (FixedCommandTitle), an entry of a Unity Localization string table, or a source of your own — implement it to take titles from your localization system.
Implementations(1)
Types that implement ICommandTitle.
public Action ChangedRaised on the main thread when Text changes — after an edit, or on a language switch — so a menu showing the title presents it again. An implementation raises it for every such change.
