FairyGUI.TextField.LineInfo.Borrow C# (CSharp) Method

Borrow() public static method

public static Borrow ( ) : LineInfo
return LineInfo
            public static LineInfo Borrow()
            {
                if (pool.Count > 0)
                {
                    LineInfo ret = pool.Pop();
                    ret.width = 0;
                    ret.height = 0;
                    ret.textHeight = 0;
                    ret.text = null;
                    ret.y = 0;
                    return ret;
                }
                else
                    return new LineInfo();
            }
TextField.LineInfo