Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arty-F authored Oct 12, 2024
1 parent 658bd55 commit 01ce0b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Requires a version of unity that supports path query parameter for git packages
Download the latest `.unitypackage` file from [releases](https://github.com/arty-F/UniWebGlClipboard/releases) page and import downloaded package into unity.

# Usage

```csharp
WebglClipboard.SendToClipboard("you text");
```
In order to work in the editor and WebGL build use these:
```csharp
GUIUtility.systemCopyBuffer = _message;
#if UNITY_WEBGL && !UNITY_EDITOR
Expand Down

0 comments on commit 01ce0b5

Please sign in to comment.