From a7e286486be9a6e540b68b77da7cd94a72651379 Mon Sep 17 00:00:00 2001 From: Frolov Date: Sat, 12 Oct 2024 13:22:32 +0700 Subject: [PATCH] namespaces fixed --- Assets/UniWebGlClipboard/Scripts/WebglClipboard.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Assets/UniWebGlClipboard/Scripts/WebglClipboard.cs b/Assets/UniWebGlClipboard/Scripts/WebglClipboard.cs index 43da015..7a9ed53 100644 --- a/Assets/UniWebGlClipboard/Scripts/WebglClipboard.cs +++ b/Assets/UniWebGlClipboard/Scripts/WebglClipboard.cs @@ -1,12 +1,10 @@ -#if UNITY_WEBGL && !UNITY_EDITOR using System.Runtime.InteropServices; -#endif namespace UniWebGlClipboard { -#if UNITY_WEBGL && !UNITY_EDITOR public class WebglClipboard { +#if UNITY_WEBGL && !UNITY_EDITOR [DllImport("__Internal")] private static extern void sendToClipboard(string str); @@ -14,6 +12,6 @@ public static void SendToClipboard(string str) { sendToClipboard(str); } - } #endif + } }