|
Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Proxy container that provides you with a localized GUIContent.


Public Member Functions | |
| LocalizedGUIContent () | |
| LocalizedGUIContent (string text) | |
| LocalizedGUIContent (Texture image) | |
| Build a GUIContent object containing only an image. More... | |
| LocalizedGUIContent (GUIContent src) | |
| Build a GUIContent as a copy of another GUIContent. More... | |
| LocalizedGUIContent (string text, Texture image) | |
| Build a GUIContent object containing both text and an image. More... | |
| LocalizedGUIContent (string text, string tooltip) | |
| LocalizedGUIContent (Texture image, string tooltip) | |
| Build a GUIContent containing an image. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip. More... | |
| LocalizedGUIContent (string text, Texture image, string tooltip) | |
| Build a GUIContent that contains both text, an image and has a tooltip defined. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip. More... | |
| delegate void | UpdateHandler (AProxyContentProvider info) |
| Handle UI member update. More... | |
| delegate LocalizatorType | LocalizationHandler (LocalizatorType origin) |
| Handler that should return localized text related to the origin one in current localization policy. More... | |
Static Public Member Functions | |
| static implicit | operator GUIContent (LocalizedGUIContent content) |
| static implicit | operator LocalizedGUIContent (GUIContent content) |
| static void | SetLocalzationHandler (LocalizationHandler localizator) |
| Defines localization handler for text content. More... | |
Protected Member Functions | |
| virtual void | OnUpdated () |
| Occurs when some GUI element has been changed. | |
Properties | |
| override GUIContent | content [get, set] |
| string | text [get, set] |
| Title of item. | |
| string | tooltip [get, set] |
| Description that will be showed in UI. | |
| Texture | image [get, set] |
| Texture that will be used as icon where applicable. | |
| static LocalizationHandler | localizator [get] |
Events | |
| UpdateHandler | Updated |
| Occurs when content has been updated. | |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | ) |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | string | text | ) |
| text |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | Texture | image | ) |
Build a GUIContent object containing only an image.
| image |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | GUIContent | src | ) |
Build a GUIContent as a copy of another GUIContent.
| src |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | string | text, |
| Texture | image | ||
| ) |
Build a GUIContent object containing both text and an image.
| text | |
| image |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | string | text, |
| string | tooltip | ||
| ) |
Build a GUIContent containing some text. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.
| text | |
| tooltip |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | Texture | image, |
| string | tooltip | ||
| ) |
Build a GUIContent containing an image. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.
| image | |
| tooltip |
| Doloro.Localization.LocalizedGUIContent.LocalizedGUIContent | ( | string | text, |
| Texture | image, | ||
| string | tooltip | ||
| ) |
Build a GUIContent that contains both text, an image and has a tooltip defined. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.
| text | |
| image | |
| tooltip |
|
inherited |
Handler that should return localized text related to the origin one in current localization policy.
| origin | Origin text or key code to localization system access. |
|
staticinherited |
Defines localization handler for text content.
| localizator | handler that will be called to localize a content. |
|
inherited |
Handle UI member update.
| info | Updated info. |