UnityEngine.TextEditor.IndexOfEndOfLine C# (CSharp) Méthode

IndexOfEndOfLine() private méthode

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