📜  统一复制到剪贴板 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:01.604000             🧑  作者: Mango

代码示例2
using UnityEngine;

public static class ClipboardExtension
{
    /// 
    /// Puts the string into the Clipboard.
    /// 
    public static void CopyToClipboard(this string str)
    {
        GUIUtility.systemCopyBuffer = str;
    }
}