Releases: Trisibo/unity-webgl-copy-and-paste
Releases · Trisibo/unity-webgl-copy-and-paste
Version 1.0.1
Added public `CopyToClipboard` method, improved sample
- Added public "CopyToClipboard" method.
- The "WebGLCopyAndPasteAPI" class is now in the "WebGLCopyAndPaste" namespace.
- The "WebGLCopyAndPasteAPI" class won't be added (empty) to non-WebGL builds anymore.
- Improved the sample, and moved it out of the plugin itself.
Made the plugin work when the "WebAssembly.Table" build option is enabled
Updated "WebGLCopyAndPaste.jslib" to fix issues and add code to make the plugin work when the "WebAssembly.Table" option is enabled in the player settings.
Added attributes so Unity doesn't strip code
Added Preserve attribute to WebGLCopyAndPasteAPI class, and AlwaysLinkAssembly to the assembly, so Unity doesn't strip the code if the plugin is moved to a package