UnityEngine.TextEditor.SelectAll C# (CSharp) Method

SelectAll() public method

public SelectAll ( ) : void
return void
        public void SelectAll()
        {
            this.cursorIndex = 0;
            this.selectIndex = this.text.Length;
            this.ClearCursorPos();
        }

Usage Example

コード例 #1
0
ファイル: CopySeed.cs プロジェクト: Daniel95/Mythe
 public void CopyToClipBoard()
 {
     TextEditor te = new TextEditor();
     te.text = seedValue.Seed;
     te.SelectAll();
     te.Copy();
 }
All Usage Examples Of UnityEngine.TextEditor::SelectAll