using UnityEngine; using UnityEngine.UI; namespace LanguageManager { /// /// Component that switches the language when the button is clicked. /// [RequireComponent(typeof(Button))] public class LanguageButton : MonoBehaviour { /// /// The language ID to switch to when the button is clicked. /// public string languageID; private Button button; private void Awake() { button = GetComponent