一:TextEditor
public void CopyWord(string str)
{
TextEditor te = new TextEditor();
te.text = str;
te.SelectAll();
te.Copy();
}
二:GUIUtility.systemCopyBuffer
public void CopyWord(string str)
{
GUIUtility.systemCopyBuffer = str;
}