Skip to content

Commit

Permalink
namespaces fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
arty-F committed Oct 12, 2024
1 parent 945ae5e commit a7e2864
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Assets/UniWebGlClipboard/Scripts/WebglClipboard.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
#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);

public static void SendToClipboard(string str)
{
sendToClipboard(str);
}
}
#endif
}
}

0 comments on commit a7e2864

Please sign in to comment.