yyl
2026-03-26 1ab047b5fdd933c38ba0519ec2e83a44512ea8d7
Main/Utility/UIHelper.cs
@@ -1473,11 +1473,15 @@
        return content;
    }
    //复制到剪贴板
    // TODO 暂不支持web后续补充
    public static void CopyToClipboard(string text)
    {
#if UNITY_WEBGL && !UNITY_EDITOR
        LaunchUtility.UIHelper_CopyToClipboard(text);
#else
        GUIUtility.systemCopyBuffer = text;
#endif
        Debug.Log("文字已复制到剪贴板: " + text);
    }