Ejemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        // find localization manager in globals
        // scan current for text field
        // replace by provided value
        LocalizationManager locaMgr = GlobalsManager.GetLocalizationManager();
        Text goText = GetComponent <Text>();

        goText.text = locaMgr.GetText(key);
    }