Unity WebGL Integration
Simple loader and inicilizer plugin for Unity + WebGL project
★ 2stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/lonsdale201/unity-for-wp/archive/refs/heads/main.zipFrom the readme
Unity for WP
WordPress Plugin for Unity WebGL Projects
Overview
Unity for WP is a WordPress plugin that simplifies the integration of Unity WebGL builds into your WordPress site. It automates the setup process and allows you to easily upload, manage, and initialize multiple Unity WebGL builds.
The plugin handles everything—your job is to build your Unity WebGL project and upload the zipped build through the plugin interface.
Important:
Make sure you zip the contents of your build folder directly, not the parent folder. The system will not work if an extra directory wraps your build files.
Example of how to zip your build:
Build Example
Features
- Multiple Build Support: Upload and manage multiple Unity WebGL builds on the same site.
- Automatic Folder Structure: Each uploaded build is extracted into its own directory within the unitybuild folder (e.g., ubuild1, ubuild2, etc.).
- Build Management: View all uploaded builds in the Builds tab under the plugin settings. You can delete or re-upload individual builds at any time.
- Shortcode Support: Embed Unity builds using a simple shortcode with customizable options.
How to Use
Uploading Your Build
1. Cr