namespace textUtility { using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class SuperlinkSetting : BaseSetting { #region Config public List ExcludeCharASCIIs = new List(); public bool EnableOverflowClick; public List SuperlinkExcludeChars { get { if (!superlinkExcludeChars.IsAvailable()) { superlinkExcludeChars = new List(); foreach (var ascii in ExcludeCharASCIIs) { superlinkExcludeChars.Add((char)ascii); } } return superlinkExcludeChars; } set { superlinkExcludeChars = value; } } private List superlinkExcludeChars; #endregion public SuperlinkSetting() { ID = 0; Scale = 0.75f; Color = Color.green; //ExcludeCharASCIIs.Add(9); ExcludeCharASCIIs.Add(10); //ExcludeCharASCIIs.Add(32); } } }