static public DHTextManager GetInstance() { if (m_Inst == null) { m_Inst = new DHTextManager(); } return(m_Inst); }
// Use this for initialization protected override void Start() { if (textIndex.CompareTo(String.Empty) != 0 && text.CompareTo("New Text") != 0) { text = DHTextManager.GetInstance().GetTextWithIndex(textIndex); // DEBUG... //horizontalOverflow = HorizontalWrapMode.Overflow; //verticalOverflow = VerticalWrapMode.Overflow; } }