Click or drag to resize

LocaliseText Class

A component that localises the text components on the same GameObject
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.LocalisationLocaliseText
            ImmerseSDK.LocalisationLocaliseProText

Namespace:  ImmerseSDK.Localisation
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
[ScriptOrderAttribute(30100)]
public class LocaliseText : UnityEngine.MonoBehaviour

The LocaliseText type exposes the following members.

Constructors
  NameDescription
Public methodLocaliseText
Initializes a new instance of the LocaliseText class
Top
Properties
  NameDescription
Public propertyNamedTextKey
The named text key that this component uses to localise text
Top
Methods
  NameDescription
Protected methodAwake
Unity component method
Protected methodCheckTextComponent
Checking the text Component is attached, Override to check for a custom text component
Public methodLocaliseNow
Immediately attempt to localise the component
Protected methodOnDestroy
Unity component method
Protected methodOnEnable
Unity component method
Protected methodSetText
Override if you want to add support for other text components
Public methodSetTextName
Set a new text name for this component to use. The component will immediately be localised after calling this.
Protected methodStart
Unity component method
Top
Fields
  NameDescription
Private field_makeUpper
True to make the text uppercase
Private field_requireTextName
Private field_textName
The name of the text (Also the sometimes referred to as the key in the named text table)
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also