View Categories

Set Current Language

Description

Sets the current language to one of the available languages in AMA Loxis. The language name is provided as a string. Returns a Boolean to indicate whether the language was successfully changed or not.

Type

Method

Syntax

loxisManager.setCurrentLanguage("English"); 

Example

using UnityEngine;
using AMACreative.Loxis;

public class LangaugeChangeTester : MonoBehavior

// Get reference to a LoxisManager instance through the inspector
[SerializeField] private LoxisManager loxisManager;

    private void Start()
    {
        bool hasLanguageChanged = loxisManager.setCurrentLanguage("English");
    }
} 

Leave a Reply

Your email address will not be published. Required fields are marked *