1、 using UnityEngine.UI;public class copy : MonoBehaviour{ TextEditor te = new TextEditor(); public Text oldtext; public Text newtext; void Update() { if (Input.GetMouseButtonDown(0)) { te.text = oldtext.text; te.SelectAll(); te.Copy(); } if (Input.GetMouseButtonDown(1)) { newtext.text = te.text; te.Paste(); } }}