UnityEngine.TextEditor.IndexOfEndOfLine C# (CSharp) 메소드

IndexOfEndOfLine() 개인적인 메소드

private IndexOfEndOfLine ( int startIndex ) : int
startIndex int
리턴 int
        private int IndexOfEndOfLine(int startIndex)
        {
            int index = this.text.IndexOf('\n', startIndex);
            return ((index == -1) ? this.text.Length : index);
        }