📅  最后修改于: 2022-03-11 14:49:01.604000             🧑  作者: Mango
using UnityEngine;
public static class ClipboardExtension
{
///
/// Puts the string into the Clipboard.
///
public static void CopyToClipboard(this string str)
{
GUIUtility.systemCopyBuffer = str;
}
}