Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [System.Serializable]
- public struct LanguageComp
- {
- public Language name;
- public float charSize;
- [TextArea] public string text;
- // public bool RightToLeft;
- public LanguageComp(Language language, float characterSize)//,bool Right2Left=false)
- {
- name = language;
- charSize=characterSize;
- text="";
- // RightToLeft=Right2Left;
- }
- public int LanguagesCount()
- {
- return System.Enum.GetValues(typeof(LanguageComp)).Length;
- }
- }
- public enum Language
- {
- Eng,
- Esp,
- Rus,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement