LocaliseText Class |
Namespace: ImmerseSDK.Localisation
[ScriptOrderAttribute(30100)] [HelpURLAttribute("https://immerse.readme.io/")] public class LocaliseText : UnityEngine.MonoBehaviour
The LocaliseText type exposes the following members.
Name | Description | |
---|---|---|
LocaliseText | Initializes a new instance of the LocaliseText class |
Name | Description | |
---|---|---|
NamedTextKey |
The named text key that this component uses to localise text
|
Name | Description | |
---|---|---|
Awake |
Unity component method
| |
CheckTextComponent |
Checking the text Component is attached, Override to check for a custom text component
| |
LocaliseNow |
Immediately attempt to localise the component
| |
OnDestroy |
Unity component method
| |
OnEnable |
Unity component method
| |
SetText |
Override if you want to add support for other text components
| |
SetTextName |
Set a new text name for this component to use. The component will immediately be localised after calling this.
| |
Start |
Unity component method
|
Name | Description | |
---|---|---|
_makeUpper |
True to make the text uppercase
| |
_requireTextName | ||
_textName |
The name of the text (Also the sometimes referred to as the key in the named text table)
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |