using UnityEngine; using System.Collections.Generic; namespace Lean.Localization { /// This class stores information about a single language, and any of its optional cultures. [System.Serializable] public class LeanLanguage { [SerializeField] private string name; [SerializeField] private List cultures; public string Name { set { name = value; } get { return name; } } /// This culture names for this language (e.g. en-GB, en-US). public List Cultures { get { if (cultures == null) { cultures = new List(); } return cultures; } } } }